Skip to content
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.

Commit 7168287

Browse files
authoredJan 14, 2017
Fix build with freetype support disabled
1 parent ee9b59a commit 7168287

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎src/defaultsettings.cpp

+1-1
Original file line numberDiff line numberDiff line change
@@ -230,7 +230,7 @@ void set_default_settings(Settings *settings)
230230
settings->setDefault("font_path", porting::getDataPath("fonts" DIR_DELIM "lucida_sans"));
231231
settings->setDefault("mono_font_path", porting::getDataPath("fonts" DIR_DELIM "mono_dejavu_sans"));
232232

233-
std::string font_size_str = to_string(DEFAULT_FONT_SIZE);
233+
std::string font_size_str = std::to_string(DEFAULT_FONT_SIZE);
234234
#endif
235235
settings->setDefault("font_size", font_size_str);
236236
settings->setDefault("mono_font_size", font_size_str);

0 commit comments

Comments
 (0)
Please sign in to comment.