gdi32: stop crash in font tests (try 3)

Dmitry Timoshkov dmitry at codeweavers.com
Wed Jun 18 21:58:46 CDT 2008


"Alistair Leslie-Hughes" <leslie_alistair at hotmail.com> wrote:

> -    if (!*font_name && font_charset == DEFAULT_CHARSET) /* do it only once */
> +    /* EnumFontFamilies with the NULL parameter crashes win98 */
> +    if (pGetGlyphIndicesW && !*font_name && font_charset == DEFAULT_CHARSET) /* do it only once */

You are excluding NT4 again. Why don't you simply use unicode version
of EnumFontFamilies in this if() block?

-- 
Dmitry.



More information about the wine-devel mailing list