File diff r18733:eab1d8a88e57 → r18734:a506621f9c52
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);