diff options
author | rubidium <rubidium@openttd.org> | 2013-06-23 15:23:22 +0000 |
---|---|---|
committer | rubidium <rubidium@openttd.org> | 2013-06-23 15:23:22 +0000 |
commit | 94a5fe6b927da6e898968d240a3486dbe60d6be8 (patch) | |
tree | 2431528829a54d93eceac0f6628fce848e47d5b1 /src/strings.cpp | |
parent | 13c450a66bef275a88d687e6f500425b91126f8f (diff) | |
download | openttd-94a5fe6b927da6e898968d240a3486dbe60d6be8.tar.xz |
(svn r25437) -Codechange: rework the FreeTypeSettings structure to make it better grouped
Diffstat (limited to 'src/strings.cpp')
-rw-r--r-- | src/strings.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/strings.cpp b/src/strings.cpp index ca7295c78..204e20687 100644 --- a/src/strings.cpp +++ b/src/strings.cpp @@ -2095,9 +2095,9 @@ class LanguagePackGlyphSearcher : public MissingGlyphSearcher { /* 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)); + 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 */ } }; |