mirror of
https://github.com/reactos/reactos.git
synced 2024-10-19 23:50:05 +00:00
replace NtGdiSelectObject with NtGdiSelectbrush in dcutils.c
svn path=/trunk/; revision=30908
This commit is contained in:
parent
86bbb43736
commit
89a612e99d
|
@ -184,7 +184,7 @@ NtGdiSetBkColor(HDC hDC, COLORREF color)
|
|||
Dc_Attr->ulDirty_ &= ~DIRTY_LINE; // Clear Flag if set.
|
||||
hBrush = Dc_Attr->hbrush;
|
||||
DC_UnlockDc(dc);
|
||||
NtGdiSelectObject(hDC, hBrush);
|
||||
NtGdiSelectBrush(hDC, hBrush);
|
||||
return oldColor;
|
||||
}
|
||||
|
||||
|
@ -254,6 +254,6 @@ NtGdiSetTextColor(HDC hDC,
|
|||
Dc_Attr->crForegroundClr = color;
|
||||
hBrush = Dc_Attr->hbrush;
|
||||
DC_UnlockDc( dc );
|
||||
NtGdiSelectObject(hDC, hBrush);
|
||||
NtGdiSelectBrush(hDC, hBrush);
|
||||
return oldColor;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue