[prev in list] [next in list] [prev in thread] [next in thread]
List: ros-diffs
Subject: [ros-diffs] [cwittich] 32067: don't print the new color value when
From: cwittich () svn ! reactos ! org
Date: 2008-01-31 17:26:58
Message-ID: 20080131172658.9F055FF03 () mail ! smartxx ! ru
[Download RAW message or body]
Author: cwittich
Date: Thu Jan 31 20:26:57 2008
New Revision: 32067
URL: http://svn.reactos.org/svn/reactos?rev=32067&view=rev
Log:
don't print the new color value when echo is off
Modified:
trunk/reactos/base/shell/cmd/color.c
Modified: trunk/reactos/base/shell/cmd/color.c
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/base/shell/cmd/color.c?rev=32067&r1=32066&r2=32067&view=diff
==============================================================================
--- trunk/reactos/base/shell/cmd/color.c (original)
+++ trunk/reactos/base/shell/cmd/color.c Thu Jan 31 20:26:57 2008
@@ -113,8 +113,11 @@
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)
{
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic