WM_GETFONT should return a real font handle instead of NULL.
This commit is contained in:
parent
1918601e4c
commit
c4bf3a6bbe
|
@ -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;
|
||||
}
|
||||
|
||||
|
||||
|
|
Loading…
Reference in New Issue