summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémi Verschelde <rverschelde@gmail.com>2020-12-18 12:59:48 +0100
committerRémi Verschelde <rverschelde@gmail.com>2020-12-18 12:59:52 +0100
commita5c47dab5b51612ee976476e6ff189f12b47fa59 (patch)
tree0c1a372a19ca4a683fbf3a671989e124d4a45191
parent126d88bce402572072c2f8ca792ee491dc2a15f4 (diff)
Font: Fix typo in DynamicFontData compat code
Fixes #44494.
-rw-r--r--scene/resources/font.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scene/resources/font.cpp b/scene/resources/font.cpp
index fab8642c20..791f260c0e 100644
--- a/scene/resources/font.cpp
+++ b/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 {
#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");