From d4304f8b544c9535b785e63466a0aacd85c713f1 Mon Sep 17 00:00:00 2001 From: Alexandre Julliard Date: Wed, 28 Aug 2002 22:25:12 +0000 Subject: [PATCH] Tweak position of system menu small icon. --- windows/nonclient.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/windows/nonclient.c b/windows/nonclient.c index 658b74138aa..13e14a2b524 100644 --- a/windows/nonclient.c +++ b/windows/nonclient.c @@ -936,9 +936,9 @@ NC_DrawSysButton95 (HWND hwnd, HDC hdc, BOOL down) { RECT rect; NC_GetInsideRect( hwnd, &rect ); - DrawIconEx (hdc, rect.left + 2, rect.top + 2, hIcon, - GetSystemMetrics(SM_CXSMICON), - GetSystemMetrics(SM_CYSMICON), 0, 0, DI_NORMAL); + DrawIconEx (hdc, rect.left + 1, rect.top + 1, hIcon, + GetSystemMetrics(SM_CXSIZE) - 1, + GetSystemMetrics(SM_CYSIZE) - 1, 0, 0, DI_NORMAL); } return (hIcon != 0); }