Skip to content

Commit 0922c98

Browse files
committed
[Win32k]
- Return the correct complexity, pass all user32 wine test_winregion tests. svn path=/trunk/; revision=48930
1 parent 658175b commit 0922c98

File tree

1 file changed

+2
-2
lines changed
  • reactos/subsystems/win32/win32k/ntuser

1 file changed

+2
-2
lines changed

reactos/subsystems/win32/win32k/ntuser/window.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4225,7 +4225,7 @@ IntGetWindowRgn(PWINDOW_OBJECT Window, HRGN hRgn)
42254225

42264226
if((pRgn = RGNOBJAPI_Lock(hRgn, NULL)))
42274227
{
4228-
Ret = pRgn->rdh.iType;
4228+
Ret = REGION_Complexity(pRgn);
42294229
RGNOBJAPI_Unlock(pRgn);
42304230
}
42314231
else
@@ -4264,7 +4264,7 @@ IntGetWindowRgnBox(PWINDOW_OBJECT Window, RECTL *Rect)
42644264

42654265
if((pRgn = RGNOBJAPI_Lock(VisRgn, NULL)))
42664266
{
4267-
Ret = pRgn->rdh.iType;
4267+
Ret = REGION_Complexity(pRgn);
42684268
*Rect = pRgn->rdh.rcBound;
42694269
RGNOBJAPI_Unlock(pRgn);
42704270
}

0 commit comments

Comments
 (0)