comctl32: Use default GUI font as a fallback instead of a (non-existent) Arial.

Daniel Jeliński djelinski1 at gmail.com
Tue Jun 18 01:21:25 CDT 2013


Hi Dmitry,
After this patch got applied, the code looks like this:
(
http://source.winehq.org/git/wine.git/blob/cc086f09ae46c77e6eb4a817ae567294d3f795ec:/dlls/comctl32/tab.c#l1914
)
1914 if (!GetObjectW((infoPtr->hFont) ?
1915 infoPtr->hFont : GetStockObject(DEFAULT_GUI_FONT),
1916 sizeof(LOGFONTW),&logfont))
1917 GetStockObject(DEFAULT_GUI_FONT);

I'm quite sure you didn't mean to ignore return value of GetStockObject and
leave logfont uninitialized here.

Regards,
Daniel

(sorry for being late to the party, I'm not subscribing wine-patches, and
kind of assumed this patch wouldn't get past AJ)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20130618/a7201182/attachment.html>


More information about the wine-devel mailing list