summaryrefslogtreecommitdiff
path: root/modules/mono/glue/gd_glue.cpp
diff options
context:
space:
mode:
authorIgnacio Etcheverry <ignalfonsore@gmail.com>2020-01-02 13:13:22 +0100
committerIgnacio Etcheverry <ignalfonsore@gmail.com>2020-01-02 13:13:22 +0100
commitea75ea50d2b0f76c44e02e6fd8a558788cc375f6 (patch)
tree39074c5aeb4010083e77190a5ebeedbf4434ba75 /modules/mono/glue/gd_glue.cpp
parent1788b22b118db02ed57487c62157f83ab73b4165 (diff)
Mono/C#: Fix GD.PrintErr now showing in the Output panel
Diffstat (limited to 'modules/mono/glue/gd_glue.cpp')
-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) {