mirror of
https://github.com/reactos/reactos.git
synced 2024-07-30 16:18:43 +00:00
replace NtGdiSelectObject with NtGdiSelectBrush in region.c
svn path=/trunk/; revision=30909
This commit is contained in:
parent
89a612e99d
commit
9748f79adc
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue