gdi32: stop font tests crashing under win98
Dmitry Timoshkov
dmitry at codeweavers.com
Mon Jun 16 08:28:29 CDT 2008
"Alistair Leslie-Hughes" <leslie_alistair at hotmail.com> wrote:
> Changelog:
> gdi32: stop font tests crashing under win98
> - if (!*font_name && font_charset == DEFAULT_CHARSET) /* do it only once */
> + /* EnumFontFamilies with the NULL parameter crashs win98 */
> + if (pGetFontUnicodeRanges && !*font_name && font_charset == DEFAULT_CHARSET) /* do it only once */
Why you are testing for pGetFontUnicodeRanges here since it has nothing
to do with the test, and disables NT4 as well? There should be a better
way to avoid Win9x, for instance using unicode APIs in this, and only
this case.
--
Dmitry.
More information about the wine-devel
mailing list