Changeset - r18418:76f9a5c1f2cc
[Not reviewed]
master
0 1 0
rubidium - 13 years ago 2011-11-19 22:27:53
rubidium@openttd.org
(svn r23270) -Fix (r23267): compile failure without freetype
1 file changed with 2 insertions and 0 deletions:
0 comments (0 inline, 0 general)
src/strings.cpp
Show inline comments
 
@@ -1818,9 +1818,11 @@ class LanguagePackGlyphSearcher : public
 

	
 
	/* virtual */ void SetFontNames(FreeTypeSettings *settings, const char *font_name)
 
	{
 
#ifdef WITH_FREETYPE
 
		strecpy(settings->small_font,  font_name, lastof(settings->small_font));
 
		strecpy(settings->medium_font, font_name, lastof(settings->medium_font));
 
		strecpy(settings->large_font,  font_name, lastof(settings->large_font));
 
#endif /* WITH_FREETYPE */
 
	}
 
};
 

	
0 comments (0 inline, 0 general)