- Return the correct complexity, pass all user32 wine test_winregion tests.

svn path=/trunk/; revision=48930
This commit is contained in:
James Tabor 2010-09-29 05:23:15 +00:00
parent 658175b3a0
commit 0922c986a4

View file

@ -4225,7 +4225,7 @@ IntGetWindowRgn(PWINDOW_OBJECT Window, HRGN hRgn)
if((pRgn = RGNOBJAPI_Lock(hRgn, NULL)))
{
Ret = pRgn->rdh.iType;
Ret = REGION_Complexity(pRgn);
RGNOBJAPI_Unlock(pRgn);
}
else
@ -4264,7 +4264,7 @@ IntGetWindowRgnBox(PWINDOW_OBJECT Window, RECTL *Rect)
if((pRgn = RGNOBJAPI_Lock(VisRgn, NULL)))
{
Ret = pRgn->rdh.iType;
Ret = REGION_Complexity(pRgn);
*Rect = pRgn->rdh.rcBound;
RGNOBJAPI_Unlock(pRgn);
}