argc counting bug fixed.
Submitted by: Tomas Hulek Reviewed by: PR:
This commit is contained in:
parent
fa2b248f23
commit
54a29df0ec
1 changed files with 1 additions and 1 deletions
|
@ -105,7 +105,7 @@ int MAIN(int argc, char **argv)
|
|||
|
||||
argc--;
|
||||
argv++;
|
||||
for (i=0; i<argc; i++)
|
||||
while (argc > 0)
|
||||
{
|
||||
if ((*argv)[0] != '-') break;
|
||||
if (strcmp(*argv,"-c") == 0)
|
||||
|
|
Loading…
Reference in a new issue