Browse Source

Merge pull request #44495 from godotengine/font-typo-44494

Font: Fix typo in DynamicFontData compat code
Rémi Verschelde 4 years ago
parent
commit
771b99b7f4
1 changed files with 1 additions and 1 deletions
  1. 1 1
      scene/resources/font.cpp

+ 1 - 1
scene/resources/font.cpp

@@ -969,7 +969,7 @@ RES ResourceFormatLoaderFont::load(const String &p_path, const String &p_origina
 
 
 void ResourceFormatLoaderFont::get_recognized_extensions_for_type(const String &p_type, List<String> *p_extensions) const {
 void ResourceFormatLoaderFont::get_recognized_extensions_for_type(const String &p_type, List<String> *p_extensions) const {
 #ifndef DISABLE_DEPRECATED
 #ifndef DISABLE_DEPRECATED
-	if (p_type == "DynacmicFontData") {
+	if (p_type == "DynamicFontData") {
 		p_extensions->push_back("ttf");
 		p_extensions->push_back("ttf");
 		p_extensions->push_back("otf");
 		p_extensions->push_back("otf");
 		p_extensions->push_back("woff");
 		p_extensions->push_back("woff");