summaryrefslogtreecommitdiff
path: root/src/fontdetection.cpp
diff options
context:
space:
mode:
authorplanetmaker <planetmaker@openttd.org>2013-06-23 17:14:34 +0000
committerplanetmaker <planetmaker@openttd.org>2013-06-23 17:14:34 +0000
commit8b25444300e8f41d57842e1d86737ddb78e5f37e (patch)
tree46ac3419a3f7380738f1895b3830238ebdf74371 /src/fontdetection.cpp
parent8190d26f9ef04cf4727be453d2990132c662a0ff (diff)
downloadopenttd-8b25444300e8f41d57842e1d86737ddb78e5f37e.tar.xz
(svn r25447) -Fix (r25437): [OSX] Compilation was broken
Diffstat (limited to 'src/fontdetection.cpp')
-rw-r--r--src/fontdetection.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fontdetection.cpp b/src/fontdetection.cpp
index 3f371fe22..6e9e78ae2 100644
--- a/src/fontdetection.cpp
+++ b/src/fontdetection.cpp
@@ -596,7 +596,7 @@ bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, i
#endif
}
- if (result && strncmp(settings->medium_font, "Geeza Pro", 9) == 0) {
+ if (result && strncmp(settings->medium.font, "Geeza Pro", 9) == 0) {
/* The font 'Geeza Pro' is often found for arabic characters, but
* it has the 'tiny' problem of not having any latin characters.
* 'Arial Unicode MS' on the other hand has arabic and latin glyphs,