summaryrefslogtreecommitdiffstats
path: root/editor/editor_log.cpp
diff options
context:
space:
mode:
authorRémi Verschelde <remi@verschelde.fr>2021-11-08 23:57:54 +0100
committerGitHub <noreply@github.com>2021-11-08 23:57:54 +0100
commitf0e6adae6d6e03e948bf34f901b230eb63bb67ea (patch)
tree3dece4eb81a528802bf5ddb6dd10e41ecb95f3da /editor/editor_log.cpp
parent38c698c4854bd42de1e88c61652ae09ec62bdd87 (diff)
parentba9d737363955cefe36d7d2418c2520a94d5cfe8 (diff)
downloadredot-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.cpp4
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) {