You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-16 14:00:40 +00:00
Remove String::find_last (same as rfind)
This commit is contained in:
@@ -294,7 +294,7 @@ private:
|
||||
// If the project name is empty or default, infer the project name from the selected folder name
|
||||
if (project_name->get_text() == "" || project_name->get_text() == TTR("New Game Project")) {
|
||||
sp = sp.replace("\\", "/");
|
||||
int lidx = sp.find_last("/");
|
||||
int lidx = sp.rfind("/");
|
||||
|
||||
if (lidx != -1) {
|
||||
sp = sp.substr(lidx + 1, sp.length()).capitalize();
|
||||
|
||||
Reference in New Issue
Block a user