diff options
author | truebrain <truebrain@openttd.org> | 2011-12-18 19:39:24 +0000 |
---|---|---|
committer | truebrain <truebrain@openttd.org> | 2011-12-18 19:39:24 +0000 |
commit | b827694aecfb442471a9f50aec09f116a35071cd (patch) | |
tree | b7775e7049536ef37c2317617ef459af930d9937 /src | |
parent | 7ec12936b529bd0cbf47ea698666c61253bbe675 (diff) | |
download | openttd-b827694aecfb442471a9f50aec09f116a35071cd.tar.xz |
(svn r23592) -Fix (r23590): forgot one case
Diffstat (limited to 'src')
-rw-r--r-- | src/fontcache.cpp | 2 |
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); |