Commit in reactos/subsys/system/cmd on MAIN | |||
chcp.c | +3 | -2 | 1.2 -> 1.3 |
- Get first the parameters and do then the processing.
diff -u -r1.2 -r1.3 --- chcp.c 7 Aug 2003 09:27:42 -0000 1.2 +++ chcp.c 6 Jun 2004 09:05:21 -0000 1.3 @@ -38,6 +38,9 @@
return 0; }
+ /* get parameters */ + arg = split (param, &args, FALSE); +
if (args == 0) { /* display active code page number */
@@ -52,8 +55,6 @@
return 1; }
- /* get parameters */ - arg = split (param, &args, FALSE);
/* save old code page */ uOldCodePage = GetConsoleCP ();