Replace String::find_last with rfind where possible (backward compatible with old API)

This commit is contained in:
Bartłomiej T. Listwon
2022-01-08 22:40:44 +01:00
parent 37b9aba458
commit 22750b1c03
18 changed files with 35 additions and 43 deletions

View File

@ -225,7 +225,7 @@ void EditorAssetInstaller::open(const String &p_path, int p_depth) {
isdir = true;
}
int pp = path.find_last("/");
int pp = path.rfind("/");
TreeItem *parent;
if (pp == -1) {