Commit in reactos/lib/user32/windows on MAIN
nonclient.c+1-31.47 -> 1.48
Don't reserve space for empty menubar

reactos/lib/user32/windows
nonclient.c 1.47 -> 1.48
diff -u -r1.47 -r1.48
--- nonclient.c	15 Mar 2004 23:49:29 -0000	1.47
+++ nonclient.c	25 Mar 2004 11:40:41 -0000	1.48
@@ -506,7 +506,6 @@
     
    if (!(Style & WS_MINIMIZE))
    {
-      ULONG menuheight;
       HMENU menu = GetMenu(hWnd);
       
       UserGetWindowBorders(Style, ExStyle, &WindowBorders, FALSE);
@@ -529,9 +528,8 @@
            CliRect.right -= OrigRect.left;
            CliRect.left -= OrigRect.left;
            CliRect.top -= OrigRect.top;
-           menuheight = (ULONG)MenuDrawMenuBar(hDC, &CliRect, hWnd, TRUE);
+           Rect->top += MenuDrawMenuBar(hDC, &CliRect, hWnd, TRUE);
            ReleaseDC(hWnd, hDC);
-           Rect->top += max(menuheight, GetSystemMetrics(SM_CYMENU));
          }
       }
 
CVSspam 0.2.8