Commit 08b250e7 authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Call ReleaseDC() with correct window handle.

parent 687679cd
......@@ -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;
......
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