mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
don't print the new color value when echo is off
svn path=/trunk/; revision=32067
This commit is contained in:
@@ -113,8 +113,11 @@ INT CommandColor (LPTSTR first, LPTSTR rest)
|
||||
return 1;
|
||||
}
|
||||
|
||||
LoadString(CMD_ModuleHandle, STRING_COLOR_ERROR3, szMsg, RC_STRING_MAX_SIZE);
|
||||
ConErrPrintf(szMsg, wColor);
|
||||
if (((bc) && (bc->bEcho)) || !bc)
|
||||
{
|
||||
LoadString(CMD_ModuleHandle, STRING_COLOR_ERROR3, szMsg, RC_STRING_MAX_SIZE);
|
||||
ConErrPrintf(szMsg, wColor);
|
||||
}
|
||||
|
||||
if ((wColor & 0xF) == (wColor &0xF0) >> 4)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user