diff options
author | Rémi Verschelde <remi@verschelde.fr> | 2021-11-08 23:57:54 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-11-08 23:57:54 +0100 |
commit | f0e6adae6d6e03e948bf34f901b230eb63bb67ea (patch) | |
tree | 3dece4eb81a528802bf5ddb6dd10e41ecb95f3da /editor/editor_log.cpp | |
parent | 38c698c4854bd42de1e88c61652ae09ec62bdd87 (diff) | |
parent | ba9d737363955cefe36d7d2418c2520a94d5cfe8 (diff) | |
download | redot-engine-f0e6adae6d6e03e948bf34f901b230eb63bb67ea.tar.gz |
Merge pull request #54784 from bruvzg/fix_toster_encoding
Diffstat (limited to 'editor/editor_log.cpp')
-rw-r--r-- | editor/editor_log.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/editor/editor_log.cpp b/editor/editor_log.cpp index 251e1c2385..5f2f8e91c9 100644 --- a/editor/editor_log.cpp +++ b/editor/editor_log.cpp @@ -45,9 +45,9 @@ void EditorLog::_error_handler(void *p_self, const char *p_func, const char *p_f String err_str; if (p_errorexp && p_errorexp[0]) { - err_str = p_errorexp; + err_str = String::utf8(p_errorexp); } else { - err_str = String(p_file) + ":" + itos(p_line) + " - " + String(p_error); + err_str = String::utf8(p_file) + ":" + itos(p_line) + " - " + String::utf8(p_error); } if (p_editor_notify) { |