(svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped

This commit is contained in:
rubidium
2013-06-23 15:23:22 +00:00
parent 13c450a66b
commit 94a5fe6b92
5 changed files with 41 additions and 41 deletions

View File

@@ -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 */
}