aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorsfan5 <sfan5@live.de>2017-01-14 12:28:43 +0100
committerLoïc Blot <nerzhul@users.noreply.github.com>2017-01-14 12:39:20 +0100
commitf0c6feca97ee412b26c96521724dcd63104185bd (patch)
treecfd89bb042a994c33d2f494aa74f77f9d9353691
parentee9b59a7fe9a3277ffdd26d29e66ef7a285df5ce (diff)
downloadminetest-f0c6feca97ee412b26c96521724dcd63104185bd.tar.gz
minetest-f0c6feca97ee412b26c96521724dcd63104185bd.tar.bz2
minetest-f0c6feca97ee412b26c96521724dcd63104185bd.zip
Fix build with freetype support disabled
-rw-r--r--src/defaultsettings.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/defaultsettings.cpp b/src/defaultsettings.cpp
index 14a88b7a6..59cfdd50d 100644
--- a/src/defaultsettings.cpp
+++ b/src/defaultsettings.cpp
@@ -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);