Author: tkreuzer
Date: Fri Nov 30 05:27:40 2007
New Revision: 30908
URL:
http://svn.reactos.org/svn/reactos?rev=30908&view=rev
Log:
replace NtGdiSelectObject with NtGdiSelectbrush in dcutils.c
Modified:
trunk/reactos/subsystems/win32/win32k/objects/dcutil.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/dcutil.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/dcutil.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/dcutil.c Fri Nov 30 05:27:40 2007
@@ -184,7 +184,7 @@
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 @@
Dc_Attr->crForegroundClr = color;
hBrush = Dc_Attr->hbrush;
DC_UnlockDc( dc );
- NtGdiSelectObject(hDC, hBrush);
+ NtGdiSelectBrush(hDC, hBrush);
return oldColor;
}