diff options
Diffstat (limited to 'core/string/node_path.cpp')
-rw-r--r-- | core/string/node_path.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string/node_path.cpp b/core/string/node_path.cpp index 9b5d3bd1fa..7071250c20 100644 --- a/core/string/node_path.cpp +++ b/core/string/node_path.cpp @@ -409,7 +409,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; |