mirror of
https://github.com/ApfelTeeSaft/reactos.git
synced 2026-08-30 12:23:28 +00:00
Cleanup misleading code.
svn path=/trunk/; revision=14097
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user