(svn r23381) -Fix (r23380): win9x compilation

pull/155/head
glx 13 years ago
parent 514bc0bc81
commit fd3a27fa2e

@ -351,7 +351,7 @@ static int CALLBACK EnumFontCallback(const ENUMLOGFONTEX *logfont, const NEWTEXT
EFCParam *info = (EFCParam *)lParam; EFCParam *info = (EFCParam *)lParam;
/* Skip duplicates */ /* Skip duplicates */
if (!info->fonts.Add(logfont->elfFullName)) return 1; if (!info->fonts.Add((const TCHAR*)logfont->elfFullName)) return 1;
/* Only use TrueType fonts */ /* Only use TrueType fonts */
if (!(type & TRUETYPE_FONTTYPE)) return 1; if (!(type & TRUETYPE_FONTTYPE)) return 1;
/* Don't use SYMBOL fonts */ /* Don't use SYMBOL fonts */

Loading…
Cancel
Save