Commit d4304f8b authored by Alexandre Julliard's avatar Alexandre Julliard

Tweak position of system menu small icon.

parent 69c9c432
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment