<div dir="ltr">Hi Dmitry,<div>After this patch got applied, the code looks like this:</div><div>(<a href="http://source.winehq.org/git/wine.git/blob/cc086f09ae46c77e6eb4a817ae567294d3f795ec:/dlls/comctl32/tab.c#l1914">http://source.winehq.org/git/wine.git/blob/cc086f09ae46c77e6eb4a817ae567294d3f795ec:/dlls/comctl32/tab.c#l1914</a>)</div>
<div>1914       if (!GetObjectW((infoPtr->hFont) ?<br>1915                 infoPtr->hFont : GetStockObject(DEFAULT_GUI_FONT),<br>1916                 sizeof(LOGFONTW),&logfont))<br>1917         GetStockObject(DEFAULT_GUI_FONT);<br>
</div><div><br></div><div>I'm quite sure you didn't mean to ignore return value of GetStockObject and leave logfont uninitialized here.</div><div><br></div><div>Regards,</div><div>Daniel</div><div><br></div><div>(sorry for being late to the party, I'm not subscribing wine-patches, and kind of assumed this patch wouldn't get past AJ)</div>
<div><br></div></div>