You've already forked godot
mirror of
https://github.com/godotengine/godot.git
synced 2025-11-05 12:10:55 +00:00
Use (r)find_char instead of (r)find for single characters
This commit is contained in:
@@ -103,7 +103,7 @@ void ShaderCreateDialog::_update_language_info() {
|
||||
|
||||
void ShaderCreateDialog::_path_hbox_sorted() {
|
||||
if (is_visible()) {
|
||||
int filename_start_pos = initial_base_path.rfind("/") + 1;
|
||||
int filename_start_pos = initial_base_path.rfind_char('/') + 1;
|
||||
int filename_end_pos = initial_base_path.length();
|
||||
|
||||
if (!is_built_in) {
|
||||
|
||||
Reference in New Issue
Block a user