- Set the right flags for Background and Text color.

svn path=/trunk/; revision=37338
This commit is contained in:
James Tabor 2008-11-13 15:01:01 +00:00
parent f4bb615543
commit 6e3804aeb2
2 changed files with 2 additions and 2 deletions

View file

@ -1064,7 +1064,7 @@ SetBkColor(
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;

View file

@ -617,7 +617,7 @@ SetTextColor(
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;