diff --git a/win32ss/user/ntuser/nonclient.c b/win32ss/user/ntuser/nonclient.c index ba8dececb1..1b8b8b84fd 100644 --- a/win32ss/user/ntuser/nonclient.c +++ b/win32ss/user/ntuser/nonclient.c @@ -755,7 +755,7 @@ UserDrawCaptionButton(PWND pWnd, LPRECT Rect, DWORD Style, DWORD ExStyle, HDC hD TempRect.left = TempRect.right - UserGetSystemMetrics(SM_CXSIZE) + 1; TempRect.bottom = TempRect.top + UserGetSystemMetrics(SM_CYSIZE) - 2; - TempRect.top += 2; + TempRect.top += 1; TempRect.right -= 1; DrawFrameControl(hDC, &TempRect, DFC_CAPTION, @@ -774,7 +774,7 @@ UserDrawCaptionButton(PWND pWnd, LPRECT Rect, DWORD Style, DWORD ExStyle, HDC hD TempRect.left = TempRect.right - UserGetSystemMetrics(SM_CXSIZE) + 1; TempRect.bottom = TempRect.top + UserGetSystemMetrics(SM_CYSIZE) - 2; - TempRect.top += 2; + TempRect.top += 1; TempRect.right -= 1; DrawFrameControl(hDC, &TempRect, DFC_CAPTION, @@ -799,8 +799,8 @@ UserDrawCaptionButton(PWND pWnd, LPRECT Rect, DWORD Style, DWORD ExStyle, HDC hD TempRect.left = TempRect.right - UserGetSystemMetrics(SM_CXSIZE); TempRect.bottom = TempRect.top + UserGetSystemMetrics(SM_CYSIZE) - 2; } - TempRect.top += 2; - TempRect.right -= 2; + TempRect.top += 1; + TempRect.right -= 1; DrawFrameControl(hDC, &TempRect, DFC_CAPTION, (DFCS_CAPTIONCLOSE | (bDown ? DFCS_PUSHED : 0) |