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 /core/io | |
parent | fd5b6e1db24facfbb6d5e9175b8e512c25fbde1d (diff) |
Remove String::find_last (same as rfind)
Diffstat (limited to 'core/io')
-rw-r--r-- | core/io/resource_loader.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/io/resource_loader.cpp b/core/io/resource_loader.cpp index f9d2c9067c..534f3e44de 100644 --- a/core/io/resource_loader.cpp +++ b/core/io/resource_loader.cpp @@ -865,7 +865,7 @@ String ResourceLoader::_path_remap(const String &p_path, bool *r_translation_rem bool near_match = false; for (int i = 0; i < res_remaps.size(); i++) { - int split = res_remaps[i].find_last(":"); + int split = res_remaps[i].rfind(":"); if (split == -1) { continue; } |