"Alistair Leslie-Hughes" leslie_alistair@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.