mirror of
https://github.com/godotengine/godot.git
synced 2025-12-08 06:09:55 +00:00
Use get_slicec instead of get_slice for single character splitters
This commit is contained in:
parent
b5bdb88062
commit
466590d0ec
58 changed files with 210 additions and 210 deletions
|
|
@ -187,7 +187,7 @@ void EditorAutoloadSettings::_autoload_edited() {
|
|||
|
||||
if (column == 0) {
|
||||
String name = ti->get_text(0);
|
||||
String old_name = selected_autoload.get_slice("/", 1);
|
||||
String old_name = selected_autoload.get_slicec('/', 1);
|
||||
|
||||
if (name == old_name) {
|
||||
return;
|
||||
|
|
@ -483,7 +483,7 @@ void EditorAutoloadSettings::update_autoload() {
|
|||
continue;
|
||||
}
|
||||
|
||||
String name = pi.name.get_slice("/", 1);
|
||||
String name = pi.name.get_slicec('/', 1);
|
||||
String scr_path = GLOBAL_GET(pi.name);
|
||||
|
||||
if (name.is_empty()) {
|
||||
|
|
@ -862,7 +862,7 @@ EditorAutoloadSettings::EditorAutoloadSettings() {
|
|||
continue;
|
||||
}
|
||||
|
||||
String name = pi.name.get_slice("/", 1);
|
||||
String name = pi.name.get_slicec('/', 1);
|
||||
String scr_path = GLOBAL_GET(pi.name);
|
||||
|
||||
if (name.is_empty()) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue