mirror of
				https://github.com/luanti-org/luanti.git
				synced 2025-11-04 09:15:29 +01:00 
			
		
		
		
	Fix build with freetype support disabled
This commit is contained in:
		@@ -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);
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user