forked from mirror/OpenTTD
(svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped
This commit is contained in:
@@ -136,7 +136,7 @@ TextfileWindow::TextfileWindow(TextfileType file_type) : Window(&_textfile_desc)
|
||||
/* virtual */ void TextfileWindow::SetFontNames(FreeTypeSettings *settings, const char *font_name)
|
||||
{
|
||||
#ifdef WITH_FREETYPE
|
||||
strecpy(settings->mono_font, font_name, lastof(settings->mono_font));
|
||||
strecpy(settings->mono.font, font_name, lastof(settings->mono.font));
|
||||
#endif /* WITH_FREETYPE */
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user