[ros-diffs] [dchapyshev] 53512: - Fix a bug, found by PVS-Studio

dchapyshev at svn.reactos.org dchapyshev at svn.reactos.org
Thu Sep 1 12:25:54 UTC 2011


Author: dchapyshev
Date: Thu Sep  1 12:25:52 2011
New Revision: 53512

URL: http://svn.reactos.org/svn/reactos?rev=53512&view=rev
Log:
- Fix a bug, found by PVS-Studio

Modified:
    trunk/reactos/lib/3rdparty/cardlib/cardwindow.cpp

Modified: trunk/reactos/lib/3rdparty/cardlib/cardwindow.cpp
URL: http://svn.reactos.org/svn/reactos/trunk/reactos/lib/3rdparty/cardlib/cardwindow.cpp?rev=53512&r1=53511&r2=53512&view=diff
==============================================================================
--- trunk/reactos/lib/3rdparty/cardlib/cardwindow.cpp [iso-8859-1] (original)
+++ trunk/reactos/lib/3rdparty/cardlib/cardwindow.cpp [iso-8859-1] Thu Sep  1 12:25:52 2011
@@ -716,7 +716,7 @@
     cols[1] = RGB(255, 255, 255);
 
     //include the base background colour
-    cols[1] = crBackgnd;
+    cols[2] = crBackgnd;
 
     //include the standard button colours...
     cols[3] = CardButton::GetHighlight(crBackgnd);




More information about the Ros-diffs mailing list