mirror of
https://github.com/reactos/wine.git
synced 2024-11-25 04:39:45 +00:00
user32: Check the correct id for the close button when setting the font.
This commit is contained in:
parent
0fc73914e2
commit
9ac7cc8311
@ -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 */
|
||||
|
Loading…
Reference in New Issue
Block a user