Cleanup misleading code.

svn path=/trunk/; revision=14097
This commit is contained in:
Filip Navara
2005-03-15 15:57:45 +00:00
parent 9b56503fc8
commit 68ed284f6e
+1 -1
View File
@@ -376,7 +376,7 @@ DefWndNCPaint(HWND hWnd, HRGN hRgn)
}
/* 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);