From d8e58eb40d15cbfe2fd4db4860879729dc3ae92c Mon Sep 17 00:00:00 2001 From: Pavel Roskin Date: Fri, 12 Mar 1999 17:09:43 +0000 Subject: [PATCH] obm_closed_95 should not be drawn inverted. --- windows/nonclient.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/nonclient.c b/windows/nonclient.c index e14d008be18..e188b3da471 100644 --- a/windows/nonclient.c +++ b/windows/nonclient.c @@ -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);