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
commitf7f89d63b2b313968771fa5baea6ef690a8c998c (patch)
tree21ae7b4275ea7e7abd891ff76f22fea4d870d46c /src
parent68d399d0aecb0dbc7a27fe11c12336cca6c2cdb3 (diff)
downloadopenttd-f7f89d63b2b313968771fa5baea6ef690a8c998c.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 */
/**