summaryrefslogtreecommitdiff
path: root/src/strings.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/strings.cpp')
-rw-r--r--src/strings.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/strings.cpp b/src/strings.cpp
index 080f57a87..cfa38bf3f 100644
--- a/src/strings.cpp
+++ b/src/strings.cpp
@@ -1818,9 +1818,11 @@ 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));
+#endif /* WITH_FREETYPE */
}
};