Author: gadamopoulos
Date: Fri May 13 15:36:25 2011
New Revision: 51699
URL:
http://svn.reactos.org/svn/reactos?rev=51699&view=rev
Log:
[win32k]
- Return the correct menu bar rect in GetMenuBarInfo
Modified:
trunk/reactos/subsystems/win32/win32k/ntuser/menu.c
Modified: trunk/reactos/subsystems/win32/win32k/ntuser/menu.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/subsystems/win32/win32k/nt…
==============================================================================
--- trunk/reactos/subsystems/win32/win32k/ntuser/menu.c [iso-8859-1] (original)
+++ trunk/reactos/subsystems/win32/win32k/ntuser/menu.c [iso-8859-1] Fri May 13 15:36:25
2011
@@ -1864,8 +1864,8 @@
}
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);