Replace String::find_last with rfind where possible (backward compatible with old API)
This commit is contained in:
@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user