summaryrefslogtreecommitdiff
path: root/modules
diff options
context:
space:
mode:
authorRĂ©mi Verschelde <rverschelde@gmail.com>2020-01-02 13:41:32 +0100
committerGitHub <noreply@github.com>2020-01-02 13:41:32 +0100
commit08ed28346b655c1a0a31aed7ba475aecbdc8429d (patch)
tree39074c5aeb4010083e77190a5ebeedbf4434ba75 /modules
parent1788b22b118db02ed57487c62157f83ab73b4165 (diff)
parentea75ea50d2b0f76c44e02e6fd8a558788cc375f6 (diff)
Merge pull request #34748 from neikeq/issue-34744
Mono/C#: Fix GD.PrintErr now showing in the Output panel
Diffstat (limited to 'modules')
-rw-r--r--modules/mono/glue/gd_glue.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/glue/gd_glue.cpp b/modules/mono/glue/gd_glue.cpp
index 41f0439c14..041d29c7bf 100644
--- a/modules/mono/glue/gd_glue.cpp
+++ b/modules/mono/glue/gd_glue.cpp
@@ -83,7 +83,7 @@ void godot_icall_GD_printerr(MonoArray *p_what) {
String str;
for (int i = 0; i < what.size(); i++)
str += what[i].operator String();
- OS::get_singleton()->printerr("%s\n", str.utf8().get_data());
+ print_error(str);
}
void godot_icall_GD_printraw(MonoArray *p_what) {