From 08b250e74e86da79a46446807c24cb6309f9d941 Mon Sep 17 00:00:00 2001 From: Dmitry Timoshkov Date: Mon, 7 Mar 2005 10:58:21 +0000 Subject: [PATCH] Call ReleaseDC() with correct window handle. --- windows/msgbox.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/windows/msgbox.c b/windows/msgbox.c index fb5ce9bf0d5..fbacf09cff5 100644 --- a/windows/msgbox.c +++ b/windows/msgbox.c @@ -239,7 +239,7 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb) if (hFont) SelectObject(hdc, hPrevFont); - ReleaseDC(hItem, hdc); + ReleaseDC(hwnd, hdc); tiheight = 16 + max(iheight, theight); wwidth = tleft + twidth + ileft + borwidth; -- 2.11.4.GIT