--- trunk/reactos/subsys/system/cmd/En.rc 2005-07-05 08:48:43 UTC (rev 16423)
+++ trunk/reactos/subsys/system/cmd/En.rc 2005-07-05 12:06:27 UTC (rev 16424)
@@ -89,9 +89,9 @@
/T:bf Sets the background/foreground color (see COLOR command)."
STRING_COLOR_HELP1, "Sets the default foreground and background colors.\n\n\
-COLOR [attr [/F]] \n\n\
+COLOR [attr [/-F]] \n\n\
attr Specifies color attribute of console output\n\
- /F fill the console with color attribute\n\n\
+ /-F Does not fill the console blank space with color attribute\n\n\
There are three ways to specify the colors:\n\
1) [bright] name on [bright] name (only the first three letters are required)\n\
2) decimal on decimal\n\
--- trunk/reactos/subsys/system/cmd/color.c 2005-07-05 08:48:43 UTC (rev 16423)
+++ trunk/reactos/subsys/system/cmd/color.c 2005-07-05 12:06:27 UTC (rev 16424)
@@ -32,7 +32,7 @@
}
-VOID SetScreenColor (WORD wColor, BOOL bFill)
+VOID SetScreenColor (WORD wColor, BOOL bNoFill)
{
DWORD dwWritten;
CONSOLE_SCREEN_BUFFER_INFO csbi;
@@ -45,7 +45,7 @@
}
else
{
- if (bFill == TRUE)
+ if (bNoFill != TRUE)
{
GetConsoleScreenBufferInfo (hConsole, &csbi);
@@ -81,7 +81,7 @@
{
/* set default color */
wColor = wDefColor;
- SetScreenColor (wColor, TRUE);
+ SetScreenColor (wColor, FALSE);
return 0;
}
@@ -125,7 +125,7 @@
/* set color */
SetScreenColor(wColor,
- (_tcsstr (rest,_T("/F")) || _tcsstr (rest,_T("/f"))));
+ (_tcsstr (rest,_T("/-F")) || _tcsstr (rest,_T("/-f"))));
return 0;
}