diff --git a/windows/msgbox.c b/windows/msgbox.c index 6bda0f5c498..6c7a5d0d49b 100644 --- a/windows/msgbox.c +++ b/windows/msgbox.c @@ -202,7 +202,7 @@ static HFONT MSGBOX_OnInit(HWND hwnd, LPMSGBOXPARAMSA lpmb) static LRESULT CALLBACK MSGBOX_DlgProc( HWND hwnd, UINT message, WPARAM wParam, LPARAM lParam ) { - static hFont; + static HFONT hFont; switch(message) { case WM_INITDIALOG: hFont = MSGBOX_OnInit(hwnd, (LPMSGBOXPARAMSA)lParam);