Use (r)find_char instead of (r)find for single characters
This commit is contained in:
parent
5efd124ca1
commit
68f638cf02
70 changed files with 169 additions and 169 deletions
|
|
@ -407,7 +407,7 @@ NodePath::NodePath(const String &p_path) {
|
|||
bool absolute = (path[0] == '/');
|
||||
bool last_is_slash = true;
|
||||
int slices = 0;
|
||||
int subpath_pos = path.find(":");
|
||||
int subpath_pos = path.find_char(':');
|
||||
|
||||
if (subpath_pos != -1) {
|
||||
int from = subpath_pos + 1;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue