replace NtGdiSelectObject with NtGdiSelectbrush in dcutils.c

svn path=/trunk/; revision=30908
This commit is contained in:
Timo Kreuzer 2007-11-30 02:27:40 +00:00
parent 86bbb43736
commit 89a612e99d

View file

@ -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;
}