Skip to content

Commit

Permalink
Fix build with freetype support disabled
Browse files Browse the repository at this point in the history
  • Loading branch information
sfan5 committed Jan 14, 2017
1 parent ee9b59a commit 7168287
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/defaultsettings.cpp
Expand Up @@ -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);
Expand Down

0 comments on commit 7168287

Please sign in to comment.