You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-24 15:26:15 +00:00
Remove String::find_last (same as rfind)
This commit is contained in:
@@ -335,7 +335,7 @@ void EditorFeatureProfileManager::_update_profile_list(const String &p_select_pr
|
||||
}
|
||||
|
||||
if (!d->current_is_dir()) {
|
||||
int last_pos = f.find_last(".profile");
|
||||
int last_pos = f.rfind(".profile");
|
||||
if (last_pos != -1) {
|
||||
profiles.push_back(f.substr(0, last_pos));
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user