fix detection of missing target. thanks to thomas.
Modified: trunk/reactos/subsys/system/cmd/internal.c
--- trunk/reactos/subsys/system/cmd/internal.c 2005-10-03 00:26:39 UTC (rev 18233) +++ trunk/reactos/subsys/system/cmd/internal.c 2005-10-03 00:51:24 UTC (rev 18234) @@ -566,6 +566,7 @@
return 1; }
+ dir[0] = 0;
/* check for options anywhere in command line */ for (i = 0; i < args; i++) { @@ -592,7 +593,7 @@
} }
- if (!dir)
+ if (dir[0] == _T('\0'))
{ /* No folder to remove */ ConErrResPuts(STRING_ERROR_REQ_PARAM_MISSING);