diff options
author | RĂ©mi Verschelde <remi@verschelde.fr> | 2022-07-07 11:58:44 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-07-07 11:58:44 +0200 |
commit | bc419e1c5ee3a0cd8c4156b2e65d94f6f46c7543 (patch) | |
tree | 001582076bb72e265a8b6f469b2a19940432dcb4 /modules/mono/utils/string_utils.cpp | |
parent | 8ec6c075bd38620358c1cadafa1a515a5711695a (diff) | |
parent | 0c5431644d103728aa926896d9bbdf40ed8d5cc3 (diff) |
Merge pull request #62735 from bruvzg/unicode_parsers
Diffstat (limited to 'modules/mono/utils/string_utils.cpp')
-rw-r--r-- | modules/mono/utils/string_utils.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/utils/string_utils.cpp b/modules/mono/utils/string_utils.cpp index 64b68b70af..975f2d8332 100644 --- a/modules/mono/utils/string_utils.cpp +++ b/modules/mono/utils/string_utils.cpp @@ -178,7 +178,7 @@ Error read_all_file_utf8(const String &p_path, String &r_content) { w[len] = 0; String source; - if (source.parse_utf8((const char *)w)) { + if (source.parse_utf8((const char *)w) != OK) { ERR_FAIL_V(ERR_INVALID_DATA); } |