summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authortruebrain <truebrain@openttd.org>2011-12-18 19:39:24 +0000
committertruebrain <truebrain@openttd.org>2011-12-18 19:39:24 +0000
commitb827694aecfb442471a9f50aec09f116a35071cd (patch)
treeb7775e7049536ef37c2317617ef459af930d9937 /src
parent7ec12936b529bd0cbf47ea698666c61253bbe675 (diff)
downloadopenttd-b827694aecfb442471a9f50aec09f116a35071cd.tar.xz
(svn r23592) -Fix (r23590): forgot one case
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 ad67b66d2..d35419597 100644
--- a/src/fontcache.cpp
+++ b/src/fontcache.cpp
@@ -568,7 +568,7 @@ bool SetFallbackFont(FreeTypeSettings *settings, const char *language_isocode, i
* mess with the automatic font detection */
char buff[256]; // This length is enough to find a suitable replacement font
strecpy(buff, str, lastof(buff));
- str_validate(buff, lastof(buff), true, false);
+ str_validate(buff, lastof(buff), SVS_ALLOW_NEWLINE);
/* Extract a UniChar represenation of the sample string. */
CFStringRef cf_str = CFStringCreateWithCString(kCFAllocatorDefault, buff, kCFStringEncodingUTF8);