mirror of
https://github.com/reactos/reactos.git
synced 2025-08-04 16:35:49 +00:00
replace NtGdiSelectObject with NtGdiSelectBrush in region.c
svn path=/trunk/; revision=30909
This commit is contained in:
parent
89a612e99d
commit
9748f79adc
1 changed files with 2 additions and 2 deletions
|
@ -2375,7 +2375,7 @@ NtGdiFillRgn(HDC hDC, HRGN hRgn, HBRUSH hBrush)
|
||||||
return FALSE;
|
return FALSE;
|
||||||
}
|
}
|
||||||
|
|
||||||
if (NULL == (oldhBrush = NtGdiSelectObject(hDC, hBrush)))
|
if (NULL == (oldhBrush = NtGdiSelectBrush(hDC, hBrush)))
|
||||||
{
|
{
|
||||||
RGNDATA_UnlockRgn(rgn);
|
RGNDATA_UnlockRgn(rgn);
|
||||||
return FALSE;
|
return FALSE;
|
||||||
|
@ -2387,7 +2387,7 @@ NtGdiFillRgn(HDC hDC, HRGN hRgn, HBRUSH hBrush)
|
||||||
}
|
}
|
||||||
|
|
||||||
RGNDATA_UnlockRgn( rgn );
|
RGNDATA_UnlockRgn( rgn );
|
||||||
NtGdiSelectObject(hDC, oldhBrush);
|
NtGdiSelectBrush(hDC, oldhBrush);
|
||||||
|
|
||||||
return TRUE;
|
return TRUE;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue