mirror of
https://github.com/luanti-org/luanti.git
synced 2025-06-27 16:36:03 +00:00
Fix build with freetype support disabled
This commit is contained in:
parent
ee9b59a7fe
commit
f0c6feca97
1 changed files with 1 additions and 1 deletions
|
@ -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…
Add table
Add a link
Reference in a new issue