replace NtGdiSelectObject with NtGdiSelectBrush in region.c

svn path=/trunk/; revision=30909
This commit is contained in:
Timo Kreuzer 2007-11-30 02:32:39 +00:00
parent 89a612e99d
commit 9748f79adc

View file

@ -2375,7 +2375,7 @@ NtGdiFillRgn(HDC hDC, HRGN hRgn, HBRUSH hBrush)
return FALSE;
}
if (NULL == (oldhBrush = NtGdiSelectObject(hDC, hBrush)))
if (NULL == (oldhBrush = NtGdiSelectBrush(hDC, hBrush)))
{
RGNDATA_UnlockRgn(rgn);
return FALSE;
@ -2387,7 +2387,7 @@ NtGdiFillRgn(HDC hDC, HRGN hRgn, HBRUSH hBrush)
}
RGNDATA_UnlockRgn( rgn );
NtGdiSelectObject(hDC, oldhBrush);
NtGdiSelectBrush(hDC, oldhBrush);
return TRUE;
}