user32: Handle GetTextMetricsW failure in get_text_metr_size

Roy Shea royshea at gmail.com
Fri Jun 13 15:53:41 CDT 2008


Initializes the tmHeight field of the TEXTMETRICW used by callers of
get_text_metr_size, even when calls to GetTextMetricsW fail.  This fix
remedies the Valgrind errors of the form "normalize_nonclientmetrics
(sysparams.c:1043)" found throughout the advpack test suite.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: sysparams_get_text_metr_size.patch
Type: text/x-patch
Size: 518 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080613/546f8b40/attachment.bin 


More information about the wine-patches mailing list