Author: jimtabor
Date: Thu Nov 13 09:01:01 2008
New Revision: 37338
URL:
http://svn.reactos.org/svn/reactos?rev=37338&view=rev
Log:
- Set the right flags for Background and Text color.
Modified:
trunk/reactos/dll/win32/gdi32/objects/dc.c
trunk/reactos/dll/win32/gdi32/objects/text.c
Modified: trunk/reactos/dll/win32/gdi32/objects/dc.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/dc…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/dc.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/objects/dc.c [iso-8859-1] Thu Nov 13 09:01:01 2008
@@ -1064,7 +1064,7 @@
if ( Dc_Attr->crBackgroundClr != crColor )
{
- Dc_Attr->ulDirty_ |= DIRTY_LINE;
+ Dc_Attr->ulDirty_ |= (DIRTY_BACKGROUND|DIRTY_LINE|DIRTY_FILL);
Dc_Attr->crBackgroundClr = crColor;
}
return OldColor;
Modified: trunk/reactos/dll/win32/gdi32/objects/text.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/gdi32/objects/te…
==============================================================================
--- trunk/reactos/dll/win32/gdi32/objects/text.c [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/gdi32/objects/text.c [iso-8859-1] Thu Nov 13 09:01:01 2008
@@ -617,7 +617,7 @@
if ( Dc_Attr->crForegroundClr != crColor )
{
- Dc_Attr->ulDirty_ |= DIRTY_TEXT;
+ Dc_Attr->ulDirty_ |= (DIRTY_TEXT|DIRTY_LINE|DIRTY_FILL);
Dc_Attr->crForegroundClr = crColor;
}
return OldColor;