diff options
author | emacser0 <roxman98@naver.com> | 2023-10-04 19:55:11 +0900 |
---|---|---|
committer | emacser0 <roxman98@naver.com> | 2023-10-04 19:55:11 +0900 |
commit | 4c65ff52e4463d5521d345705612a0593e22220d (patch) | |
tree | 26d5a70f2428c1cd49f3c116ffc3bf808336e0a9 /editor/project_converter_3_to_4.cpp | |
parent | f5696c311cdb09e0a34fa4ba7ef5d2524c515b89 (diff) | |
download | redot-engine-4c65ff52e4463d5521d345705612a0593e22220d.tar.gz |
Fix some typos in source.
Diffstat (limited to 'editor/project_converter_3_to_4.cpp')
-rw-r--r-- | editor/project_converter_3_to_4.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/editor/project_converter_3_to_4.cpp b/editor/project_converter_3_to_4.cpp index d6ed5eb995..bea865af13 100644 --- a/editor/project_converter_3_to_4.cpp +++ b/editor/project_converter_3_to_4.cpp @@ -113,7 +113,7 @@ public: // GDScript keywords. RegEx keyword_gdscript_tool = RegEx("^tool"); RegEx keyword_gdscript_export_single = RegEx("^export"); - RegEx keyword_gdscript_export_mutli = RegEx("([\t]+)export\\b"); + RegEx keyword_gdscript_export_multi = RegEx("([\t]+)export\\b"); RegEx keyword_gdscript_onready = RegEx("^onready"); RegEx keyword_gdscript_remote = RegEx("^remote func"); RegEx keyword_gdscript_remotesync = RegEx("^remotesync func"); @@ -2548,7 +2548,7 @@ void ProjectConverter3To4::rename_gdscript_keywords(Vector<SourceLine> &source_l line = reg_container.keyword_gdscript_export_single.sub(line, "@export", true); } if (line.contains("export")) { - line = reg_container.keyword_gdscript_export_mutli.sub(line, "$1@export", true); + line = reg_container.keyword_gdscript_export_multi.sub(line, "$1@export", true); } if (line.contains("onready")) { line = reg_container.keyword_gdscript_onready.sub(line, "@onready", true); @@ -2607,7 +2607,7 @@ Vector<String> ProjectConverter3To4::check_for_rename_gdscript_keywords(Vector<S if (line.contains("export")) { old = line; - line = reg_container.keyword_gdscript_export_mutli.sub(line, "@export", true); + line = reg_container.keyword_gdscript_export_multi.sub(line, "@export", true); if (old != line) { found_renames.append(line_formatter(current_line, "export", "@export", line)); } |