copy back both POINTS to make a RECT
authorBrandon Turner <turnerb7@msu.edu>
Tue, 22 Nov 2005 01:48:27 +0000 (01:48 +0000)
committerBrandon Turner <turnerb7@msu.edu>
Tue, 22 Nov 2005 01:48:27 +0000 (01:48 +0000)
svn path=/trunk/; revision=19444

reactos/subsys/win32k/ntuser/menu.c

index 637164a..cb62c28 100644 (file)
@@ -1733,7 +1733,7 @@ NtUserGetMenuItemRect(
       lpPoints[i].y += YMove;
    }
 
-   Status = MmCopyToCaller(lprcItem, lpPoints, sizeof(POINT));
+   Status = MmCopyToCaller(lprcItem, lpPoints, sizeof(RECT));
    if (! NT_SUCCESS(Status))
    {
       SetLastNtError(Status);