Changeset - r18734:a506621f9c52
[Not reviewed]
master
0 1 0
truebrain - 12 years ago 2011-12-18 19:39:24
truebrain@openttd.org
(svn r23592) -Fix (r23590): forgot one case
1 file changed with 1 insertions and 1 deletions:
0 comments (0 inline, 0 general)
src/fontcache.cpp
Show inline comments
 
@@ -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);
0 comments (0 inline, 0 general)