diff options
author | exts <lamonteh2@gmail.com> | 2018-10-07 09:49:48 -0500 |
---|---|---|
committer | exts <lamonteh2@gmail.com> | 2018-10-07 09:49:48 -0500 |
commit | 18b6f5a6c92ec01332654b5537eb4af81ea734dc (patch) | |
tree | 2d68e098153288da6b3c967a929ac2372d44dcf0 | |
parent | 5676632a3bb8562b3346a3afba4069501365b35f (diff) |
fixes #22828 - res://user had incorrect substr value
-rw-r--r-- | core/ustring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/ustring.cpp b/core/ustring.cpp index 3f073b181f..28bbe1d834 100644 --- a/core/ustring.cpp +++ b/core/ustring.cpp @@ -3092,7 +3092,7 @@ String String::simplify_path() const { } else if (s.begins_with("user://")) { drive = "user://"; - s = s.substr(6, s.length()); + s = s.substr(7, s.length()); } else if (s.begins_with("/") || s.begins_with("\\")) { drive = s.substr(0, 1); |