summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorrubidium <rubidium@openttd.org>2008-11-24 19:31:01 +0000
committerrubidium <rubidium@openttd.org>2008-11-24 19:31:01 +0000
commit1b333c47e1e8d38ba2bc64761c449a13fc3e319d (patch)
tree21ae7b4275ea7e7abd891ff76f22fea4d870d46c /src
parentc246e01daf65fe384958d25fbce1639167f0b5bc (diff)
downloadopenttd-1b333c47e1e8d38ba2bc64761c449a13fc3e319d.tar.xz
(svn r14621) -Fix (r14618): link error when you aren't compiling for Windows or you don't have fontconfig.
Diffstat (limited to 'src')
-rw-r--r--src/fontcache.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontcache.cpp b/src/fontcache.cpp
index 8a836c6cb..cdb7dafd6 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -351,7 +351,7 @@ error_pattern:
#else /* without WITH_FONTCONFIG */
FT_Error GetFontByFaceName(const char *font_name, FT_Face *face) {return FT_Err_Cannot_Open_Resource;}
-bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode) { return false; }
+bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, int winlangid) { return false; }
#endif /* WITH_FONTCONFIG */
/**