Fix various typos

* Add TODO notes for typos that should be fixed for 5.0

Co-authored-by: Rémi Verschelde <rverschelde@gmail.com>
This commit is contained in:
Aarni Koskela 2025-01-08 11:56:49 +02:00
parent d2ada64a03
commit f134769506
86 changed files with 396 additions and 396 deletions

View file

@ -1277,8 +1277,8 @@ Ref<Script> ScriptEditor::_get_current_script() {
TypedArray<Script> ScriptEditor::_get_open_scripts() const {
TypedArray<Script> ret;
Vector<Ref<Script>> scripts = get_open_scripts();
int scrits_amount = scripts.size();
for (int idx_script = 0; idx_script < scrits_amount; idx_script++) {
int scripts_amount = scripts.size();
for (int idx_script = 0; idx_script < scripts_amount; idx_script++) {
ret.push_back(scripts[idx_script]);
}
return ret;