diff options
author | glx <glx@openttd.org> | 2011-11-30 20:17:27 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2011-11-30 20:17:27 +0000 |
commit | 721c74d2796788272e5a1f745ce7e4acab0d6873 (patch) | |
tree | 22385e7dabe609e2211090e52cec0c9e69ee4225 /src | |
parent | 44918dded0fad238231c89227ae6fe749a8cf9c3 (diff) | |
download | openttd-721c74d2796788272e5a1f745ce7e4acab0d6873.tar.xz |
(svn r23381) -Fix (r23380): win9x compilation
Diffstat (limited to 'src')
-rw-r--r-- | src/fontcache.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp index 5ded50ce7..3c7634e1f 100644 --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -351,7 +351,7 @@ static int CALLBACK EnumFontCallback(const ENUMLOGFONTEX *logfont, const NEWTEXT EFCParam *info = (EFCParam *)lParam; /* Skip duplicates */ - if (!info->fonts.Add(logfont->elfFullName)) return 1; + if (!info->fonts.Add((const TCHAR*)logfont->elfFullName)) return 1; /* Only use TrueType fonts */ if (!(type & TRUETYPE_FONTTYPE)) return 1; /* Don't use SYMBOL fonts */ |