mirror of
https://github.com/reactos/reactos.git
synced 2025-02-23 08:55:19 +00:00
don't print the new color value when echo is off
svn path=/trunk/; revision=32067
This commit is contained in:
parent
c3148085fe
commit
00e33fbce3
1 changed files with 5 additions and 2 deletions
|
@ -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)
|
||||
{
|
||||
|
|
Loading…
Reference in a new issue