Re: user32: Handle GetTextMetricsW failure in get_text_metr_size
June 14, 2008
4:53 a.m.
"Roy Shea" <royshea(a)gmail.com> wrote:
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.
GetTextMetricsW should never fail. You need to find a reason of a failure. -- Dmitry.
6494
Age (days ago)
6494
Last active (days ago)
0 comments
1 participants
participants (1)
-
Dmitry Timoshkov