Fix build with freetype support disabled

master
sfan5 2017-01-14 12:28:43 +01:00 committed by Loïc Blot
parent ee9b59a7fe
commit f0c6feca97
1 changed files with 1 additions and 1 deletions

View File

@ -230,7 +230,7 @@ void set_default_settings(Settings *settings)
settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "lucida_sans"));
settings->setDefault("mono_font_path", porting::getDataPath("fonts" DIR_DELIM "mono_dejavu_sans"));
std::string font_size_str = to_string(DEFAULT_FONT_SIZE);
std::string font_size_str = std::to_string(DEFAULT_FONT_SIZE);
#endif
settings->setDefault("font_size", font_size_str);
settings->setDefault("mono_font_size", font_size_str);