mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
[WIN32K]
- Fix IntGdiSetBkColor setting wrong dirty flags. Fixes wrong background under text in Open With applications list. svn path=/trunk/; revision=54773
This commit is contained in:
parent
4cf336fa2a
commit
2ec1edae97
1 changed files with 1 additions and 1 deletions
|
@ -20,7 +20,7 @@ IntGdiSetBkColor(HDC hDC, COLORREF color)
|
|||
oldColor = pdcattr->crBackgroundClr;
|
||||
pdcattr->crBackgroundClr = color;
|
||||
pdcattr->ulBackgroundClr = (ULONG)color;
|
||||
pdcattr->ulDirty_ &= ~(DIRTY_BACKGROUND|DIRTY_LINE|DIRTY_FILL); // Clear Flag if set.
|
||||
pdcattr->ulDirty_ |= DIRTY_BACKGROUND|DIRTY_LINE|DIRTY_FILL; // Clear Flag if set.
|
||||
hBrush = pdcattr->hbrush;
|
||||
DC_UnlockDc(dc);
|
||||
NtGdiSelectBrush(hDC, hBrush);
|
||||
|
|
Loading…
Reference in a new issue