summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2011-11-19 21:09:52 +0000
committerrubidium <rubidium@openttd.org>2011-11-19 21:09:52 +0000
commitd86e6b6162017976e50a4632df10bb286f448d96 (patch)
treebd9bda05068b3697cedddb87276cb76e87753fcb
parent4e1c4f90794eac4d63a08da41e75427950a50929 (diff)
downloadopenttd-d86e6b6162017976e50a4632df10bb286f448d96.tar.xz
(svn r23268) -Fix (r23267): compilation failed on Windows
-rw-r--r--src/fontcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 4cdd11132..ec63b1614 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -347,7 +347,7 @@ static int CALLBACK EnumFontCallback(const ENUMLOGFONTEX *logfont, const NEWTEXT
if (!found) return 1;
- callback->SetFontNames(info->settings, font_name);
+ info->callback->SetFontNames(info->settings, font_name);
if (info->callback->FindMissingGlyphs(NULL)) return 1;
DEBUG(freetype, 1, "Fallback font: %s (%s)", font_name, english_name);
return 0; // stop enumerating