diff src/textfile_gui.cpp @ 20477:e845688ff873 draft

(svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped
author rubidium <rubidium@openttd.org>
date Sun, 23 Jun 2013 15:23:22 +0000
parents 63dba929ba42
children
line wrap: on
line diff
--- a/src/textfile_gui.cpp
+++ b/src/textfile_gui.cpp
@@ -136,7 +136,7 @@
 /* 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 */
 }