diff options
-rw-r--r-- | Tools/Source/TianoTools/GenTEImage/GenTEImage.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/Tools/Source/TianoTools/GenTEImage/GenTEImage.c b/Tools/Source/TianoTools/GenTEImage/GenTEImage.c index 6878ddbe40..90f3b3919a 100644 --- a/Tools/Source/TianoTools/GenTEImage/GenTEImage.c +++ b/Tools/Source/TianoTools/GenTEImage/GenTEImage.c @@ -672,11 +672,7 @@ Returns: //
// Process until no more arguments
//
- while ((Argc > 0) && ((Argv[0][0] == '-') || (Argv[0][0] == '/'))) {
- //
- // To simplify string comparisons, replace slashes with dashes
- //
- Argv[0][0] = '-';
+ while ((Argc > 0) && (Argv[0][0] == '-')) {
if (stricmp (Argv[0], "-o") == 0) {
//
// Output filename specified with -o
|