Commit c4bf3a6b authored by Gerard Patel's avatar Gerard Patel Committed by Alexandre Julliard

WM_GETFONT should return a real font handle instead of NULL.

parent 1918601e
...@@ -962,7 +962,7 @@ static inline LRESULT ...@@ -962,7 +962,7 @@ static inline LRESULT
STATUSBAR_WMGetFont (HWND hwnd) STATUSBAR_WMGetFont (HWND hwnd)
{ {
STATUSWINDOWINFO *infoPtr = STATUSBAR_GetInfoPtr (hwnd); STATUSWINDOWINFO *infoPtr = STATUSBAR_GetInfoPtr (hwnd);
return infoPtr->hFont; return infoPtr->hFont? infoPtr->hFont : infoPtr->hDefaultFont;
} }
......
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