mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-09-02 19:26:32 +00:00
replace NtGdiSelectObject with NtGdiSelectbrush in dcutils.c
svn path=/trunk/; revision=30908
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user