Cleanup misleading code.
Modified: trunk/reactos/lib/user32/windows/nonclient.c
_____
Modified: trunk/reactos/lib/user32/windows/nonclient.c
--- trunk/reactos/lib/user32/windows/nonclient.c 2005-03-15
14:47:41 UTC (rev 14096)
+++ trunk/reactos/lib/user32/windows/nonclient.c 2005-03-15
15:57:45 UTC (rev 14097)
@@ -376,7 +376,7 @@
}
/* Now the other bit of the frame */
- if (Style & WS_CAPTION || ExStyle & WS_EX_DLGMODALFRAME)
+ if (Style & (WS_DLGFRAME | WS_BORDER) || ExStyle &
WS_EX_DLGMODALFRAME)
{
DWORD Width = GetSystemMetrics(SM_CXBORDER);
DWORD Height = GetSystemMetrics(SM_CYBORDER);
Show replies by date