diff options
author | Stijn Hinlopen <f.a.hinlopen@gmail.com> | 2020-07-03 15:26:22 +0200 |
---|---|---|
committer | Stijn Hinlopen <f.a.hinlopen@gmail.com> | 2020-07-03 15:26:22 +0200 |
commit | 929b98d24b53789b3e3fbbae90aed0fe0e72b409 (patch) | |
tree | 89156a4e626da2bef5305bee55d785f5e77aec46 /editor/project_settings_editor.cpp | |
parent | fd5b6e1db24facfbb6d5e9175b8e512c25fbde1d (diff) |
Remove String::find_last (same as rfind)
Diffstat (limited to 'editor/project_settings_editor.cpp')
-rw-r--r-- | editor/project_settings_editor.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/editor/project_settings_editor.cpp b/editor/project_settings_editor.cpp index a8029e1e2b..1b0276f1cd 100644 --- a/editor/project_settings_editor.cpp +++ b/editor/project_settings_editor.cpp @@ -1666,7 +1666,7 @@ void ProjectSettingsEditor::_update_translations() { PackedStringArray selected = remaps[keys[i]]; for (int j = 0; j < selected.size(); j++) { String s2 = selected[j]; - int qp = s2.find_last(":"); + int qp = s2.rfind(":"); String path = s2.substr(0, qp); String locale = s2.substr(qp + 1, s2.length()); |