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