Commit 9ac7cc83 authored by Alexandre Julliard's avatar Alexandre Julliard

user32: Check the correct id for the close button when setting the font.

parent 0fc73914
......@@ -88,7 +88,7 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSW lpmb)
/* set button font */
for (i = IDOK; i <= IDCONTINUE; i++)
/* no close button */
if (i != IDCANCEL)
if (i != IDCLOSE)
SendDlgItemMessageW (hwnd, i, WM_SETFONT, (WPARAM)hFont, 0);
/* set text font */
......
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