WM_GETFONT should return a real font handle instead of NULL.

This commit is contained in:
Gerard Patel 2000-08-18 22:25:46 +00:00 committed by Alexandre Julliard
parent 1918601e4c
commit c4bf3a6bbe
1 changed files with 1 additions and 1 deletions

View File

@ -962,7 +962,7 @@ static inline LRESULT
STATUSBAR_WMGetFont (HWND hwnd)
{
STATUSWINDOWINFO *infoPtr = STATUSBAR_GetInfoPtr (hwnd);
return infoPtr->hFont;
return infoPtr->hFont? infoPtr->hFont : infoPtr->hDefaultFont;
}