That should be an "else if", not an "if" ...
authorRyan C. Gordon <icculus@icculus.org>
Thu, 19 Feb 2009 03:24:03 -0500
changeset 667 8efc63f4ab9b
parent 666 aec40e1c5e99
child 668 983f396a3d71
That should be an "else if", not an "if" ...
utils/mojoshader-compiler.c
--- a/utils/mojoshader-compiler.c	Thu Feb 19 03:22:38 2009 -0500
+++ b/utils/mojoshader-compiler.c	Thu Feb 19 03:24:03 2009 -0500
@@ -178,7 +178,7 @@
             outfile = arg;
         } // if
 
-        if (strcmp(arg, "-I") == 0)
+        else if (strcmp(arg, "-I") == 0)
         {
             arg = argv[++i];
             if (arg == NULL)