diff options
author | RĂ©mi Verschelde <rverschelde@gmail.com> | 2019-10-31 15:17:19 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2019-10-31 15:17:19 +0100 |
commit | 23a381d8827dbcb2d295fa393a5400f7a7e0a1c1 (patch) | |
tree | 181570b8580d7f5dc9d31d3911b1b845af200b5e /editor/editor_properties_array_dict.cpp | |
parent | 55fd63d9de05afd311c981df52bd50262aace9b5 (diff) | |
parent | 8754e21f48a5db53f905898dbccfc4bc6eb10f9a (diff) |
Merge pull request #33203 from aaronfranke/seperation-typo
Fix "seperate" typos
Diffstat (limited to 'editor/editor_properties_array_dict.cpp')
-rw-r--r-- | editor/editor_properties_array_dict.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/editor/editor_properties_array_dict.cpp b/editor/editor_properties_array_dict.cpp index 8abe91bdc1..c75b66c601 100644 --- a/editor/editor_properties_array_dict.cpp +++ b/editor/editor_properties_array_dict.cpp @@ -475,16 +475,16 @@ void EditorPropertyArray::setup(Variant::Type p_array_type, const String &p_hint array_type = p_array_type; if (array_type == Variant::ARRAY && !p_hint_string.empty()) { - int hint_subtype_seperator = p_hint_string.find(":"); - if (hint_subtype_seperator >= 0) { - String subtype_string = p_hint_string.substr(0, hint_subtype_seperator); + int hint_subtype_separator = p_hint_string.find(":"); + if (hint_subtype_separator >= 0) { + String subtype_string = p_hint_string.substr(0, hint_subtype_separator); int slash_pos = subtype_string.find("/"); if (slash_pos >= 0) { subtype_hint = PropertyHint(subtype_string.substr(slash_pos + 1, subtype_string.size() - slash_pos - 1).to_int()); subtype_string = subtype_string.substr(0, slash_pos); } - subtype_hint_string = p_hint_string.substr(hint_subtype_seperator + 1, p_hint_string.size() - hint_subtype_seperator - 1); + subtype_hint_string = p_hint_string.substr(hint_subtype_separator + 1, p_hint_string.size() - hint_subtype_separator - 1); subtype = Variant::Type(subtype_string.to_int()); } } |