Author: tkreuzer
Date: Fri Nov 30 05:32:39 2007
New Revision: 30909
URL:
http://svn.reactos.org/svn/reactos?rev=30909&view=rev
Log:
replace NtGdiSelectObject with NtGdiSelectBrush in region.c
Modified:
trunk/reactos/subsystems/win32/win32k/objects/region.c
Modified: trunk/reactos/subsystems/win32/win32k/objects/region.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/ob…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/objects/region.c (original)
+++ trunk/reactos/subsystems/win32/win32k/objects/region.c Fri Nov 30 05:32:39 2007
@@ -2375,7 +2375,7 @@
return FALSE;
}
- if (NULL == (oldhBrush = NtGdiSelectObject(hDC, hBrush)))
+ if (NULL == (oldhBrush = NtGdiSelectBrush(hDC, hBrush)))
{
RGNDATA_UnlockRgn(rgn);
return FALSE;
@@ -2387,7 +2387,7 @@
}
RGNDATA_UnlockRgn( rgn );
- NtGdiSelectObject(hDC, oldhBrush);
+ NtGdiSelectBrush(hDC, oldhBrush);
return TRUE;
}