diff options
author | glx <glx@openttd.org> | 2009-03-18 00:55:10 +0000 |
---|---|---|
committer | glx <glx@openttd.org> | 2009-03-18 00:55:10 +0000 |
commit | c0a44985180acc6c85c4e1f53a80d1f011bb4f7a (patch) | |
tree | b892a8137bb19899657a57a28dd2369529152a5d | |
parent | 5654966e7530100692e5350aae8599fdd43fbc59 (diff) | |
download | openttd-c0a44985180acc6c85c4e1f53a80d1f011bb4f7a.tar.xz |
(svn r15758) -Fix (r15757): win9x compilation
-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 8a3f684f6..c5cb84732 100644 --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -299,7 +299,7 @@ static int CALLBACK EnumFontCallback(const ENUMLOGFONTEX *logfont, const NEWTEXT } const char *english_name = GetEnglishFontName(logfont); - const char *font_name = WIDE_TO_MB(logfont->elfFullName); + const char *font_name = WIDE_TO_MB((const TCHAR*)logfont->elfFullName); DEBUG(freetype, 1, "Fallback font: %s (%s)", font_name, english_name); strecpy(info->settings->small_font, font_name, lastof(info->settings->small_font)); |