mirror of
https://github.com/reactos/reactos.git
synced 2025-08-03 20:25:39 +00:00
- Set the right flags for Background and Text color.
svn path=/trunk/; revision=37338
This commit is contained in:
parent
f4bb615543
commit
6e3804aeb2
2 changed files with 2 additions and 2 deletions
|
@ -1064,7 +1064,7 @@ SetBkColor(
|
||||||
|
|
||||||
if ( Dc_Attr->crBackgroundClr != crColor )
|
if ( Dc_Attr->crBackgroundClr != crColor )
|
||||||
{
|
{
|
||||||
Dc_Attr->ulDirty_ |= DIRTY_LINE;
|
Dc_Attr->ulDirty_ |= (DIRTY_BACKGROUND|DIRTY_LINE|DIRTY_FILL);
|
||||||
Dc_Attr->crBackgroundClr = crColor;
|
Dc_Attr->crBackgroundClr = crColor;
|
||||||
}
|
}
|
||||||
return OldColor;
|
return OldColor;
|
||||||
|
|
|
@ -617,7 +617,7 @@ SetTextColor(
|
||||||
|
|
||||||
if ( Dc_Attr->crForegroundClr != crColor )
|
if ( Dc_Attr->crForegroundClr != crColor )
|
||||||
{
|
{
|
||||||
Dc_Attr->ulDirty_ |= DIRTY_TEXT;
|
Dc_Attr->ulDirty_ |= (DIRTY_TEXT|DIRTY_LINE|DIRTY_FILL);
|
||||||
Dc_Attr->crForegroundClr = crColor;
|
Dc_Attr->crForegroundClr = crColor;
|
||||||
}
|
}
|
||||||
return OldColor;
|
return OldColor;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue