diff options
author | Max Hilbrunner <mhilbrunner@users.noreply.github.com> | 2022-10-21 18:47:21 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-10-21 18:47:21 +0200 |
commit | e73ff0e961da2b57f4ff63185c0929cc222c7372 (patch) | |
tree | 425d588e9e5ac88243886ef6a201de42f074ec30 /core/string/ustring.cpp | |
parent | f77f7d4ba9373c090b03705c81024c7ef0c9a1f9 (diff) | |
parent | 56fa8f1d58efd62f941e9fd94f6c3e156a8b7a6b (diff) | |
download | redot-engine-e73ff0e961da2b57f4ff63185c0929cc222c7372.tar.gz |
Merge pull request #67636 from groud/fix_localize_path
Fix localize_path with custom protocol identifiers
Diffstat (limited to 'core/string/ustring.cpp')
-rw-r--r-- | core/string/ustring.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/string/ustring.cpp b/core/string/ustring.cpp index 2e0ad94fcf..c86c8316fe 100644 --- a/core/string/ustring.cpp +++ b/core/string/ustring.cpp @@ -3675,7 +3675,7 @@ String String::simplify_path() const { if (p > 0) { bool only_chars = true; for (int i = 0; i < p; i++) { - if (!is_ascii_char(s[i])) { + if (!is_ascii_alphanumeric_char(s[i])) { only_chars = false; break; } |