mirror of
https://github.com/moparisthebest/minetest
synced 2024-11-15 13:55:11 -05:00
Fix build with freetype support disabled
This commit is contained in:
parent
ee9b59a7fe
commit
f0c6feca97
@ -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);
|
||||
|
Loading…
Reference in New Issue
Block a user