- Return the correct menu bar rect in GetMenuBarInfo

svn path=/trunk/; revision=51699
This commit is contained in:
Giannis Adamopoulos 2011-05-13 15:36:25 +00:00
parent 21434a4c28
commit 683a4dc336

View file

@ -1864,8 +1864,8 @@ NtUserGetMenuBarInfo(
}
Rect.left = Offset.x;
Rect.right = Offset.x + MenuObject->MenuInfo.Width;
Rect.top = Offset.y;
Rect.bottom = Offset.y + MenuObject->MenuInfo.Height;
Rect.bottom = Offset.y;
Rect.top = Offset.y - MenuObject->MenuInfo.Height;
kmbi.rcBar = Rect;
DPRINT("Rect top = %d bottom = %d left = %d right = %d \n",
Rect.top, Rect.bottom, Rect.left, Rect.right);