argc counting bug fixed.

Submitted by: Tomas Hulek
Reviewed by:
PR:
This commit is contained in:
Bodo Möller 1999-05-11 15:44:58 +00:00
parent fa2b248f23
commit 54a29df0ec

View File

@ -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)