On Jun 18, 2013, at 1:26 AM, Dmitry Timoshkov wrote:
Daniel JeliĆski djelinski1@gmail.com wrote:
I'm quite sure you didn't mean to ignore return value of GetStockObject and leave logfont uninitialized here.
GetStockObject(DEFAULT_GUI_FONT) can't fail.
I think the question is: what does line 1917 do? http://source.winehq.org/git/wine.git/blob/cc086f09ae46c77e6eb4a817ae567294d...
Does GetStockObject(DEFAULT_GUI_FONT) have some sort of side effect that's not obvious?
-Ken