Commit in reactos/lib/user32/windows on MAIN | |||
nonclient.c | +1 | -1 | 1.53 -> 1.54 |
fixed calculation of the non-client-area when WS_BORDER is set
diff -u -r1.53 -r1.54 --- nonclient.c 17 Apr 2004 11:00:13 -0000 1.53 +++ nonclient.c 23 Apr 2004 19:29:04 -0000 1.54 @@ -543,7 +543,7 @@
UserGetWindowBorders(Style, ExStyle, &WindowBorders, FALSE); InflateRect(Rect, -WindowBorders.cx, -WindowBorders.cy); } else
- if (ExStyle & WS_EX_STATICEDGE)
+ if ((ExStyle & WS_EX_STATICEDGE) || (Style & WS_BORDER))
{ InflateRect(Rect, -1, -1); }