Font: Fix typo in DynamicFontData compat code

Fixes #44494.
This commit is contained in:
Rémi Verschelde 2020-12-18 12:59:48 +01:00
parent 126d88bce4
commit a5c47dab5b
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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 {
#ifndef DISABLE_DEPRECATED
if (p_type == "DynacmicFontData") {
if (p_type == "DynamicFontData") {
p_extensions->push_back("ttf");
p_extensions->push_back("otf");
p_extensions->push_back("woff");