# HG changeset patch # User truebrain # Date 2011-12-18 19:39:24 # Node ID a506621f9c52718a2b08a5dfee9b4cdd0bc4789c # Parent eab1d8a88e57129b180c3e9a659c68f9bd856c00 (svn r23592) -Fix (r23590): forgot one case diff --git a/src/fontcache.cpp b/src/fontcache.cpp --- a/src/fontcache.cpp +++ b/src/fontcache.cpp @@ -568,7 +568,7 @@ bool SetFallbackFont(FreeTypeSettings *s * 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);