obm_closed_95 should not be drawn inverted.

This commit is contained in:
Pavel Roskin 1999-03-12 17:09:43 +00:00 committed by Alexandre Julliard
parent 26a83df8eb
commit d8e58eb40d

View file

@ -1070,7 +1070,7 @@ void NC_DrawCloseButton95 (HWND hwnd, HDC hdc, BOOL down)
GetObjectA (hBmp, sizeof(BITMAP), &bmp);
BitBlt (hdc, rect.right - (sysMetrics[SM_CYCAPTION] + 1 + bmp.bmWidth) / 2,
rect.top + (sysMetrics[SM_CYCAPTION] - 1 - bmp.bmHeight) / 2,
bmp.bmWidth, bmp.bmHeight, hdcMem, 0, 0, down ? NOTSRCCOPY : SRCCOPY);
bmp.bmWidth, bmp.bmHeight, hdcMem, 0, 0, SRCCOPY);
SelectObject (hdcMem, hOldBmp);
DeleteDC (hdcMem);