summaryrefslogtreecommitdiffstats
path: root/modules/mono/mono_gd/gd_mono_property.cpp
diff options
context:
space:
mode:
authormagian1127 <14800320+magian1127@users.noreply.github.com>2021-01-18 16:34:10 +0800
committermagian1127 <14800320+magian1127@users.noreply.github.com>2021-01-19 21:44:07 +0800
commitda234cdbc6a86c2b447ae57a7a5ce2d8090543ea (patch)
treed95479b1d2fa44da270e98278d937c4bb97eed69 /modules/mono/mono_gd/gd_mono_property.cpp
parentf743f8cb9a796d3d61e15d06a160e2236193d15e (diff)
downloadredot-engine-da234cdbc6a86c2b447ae57a7a5ce2d8090543ea.tar.gz
C # mono supports Unicode code
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_property.cpp')
-rw-r--r--modules/mono/mono_gd/gd_mono_property.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono_property.cpp b/modules/mono/mono_gd/gd_mono_property.cpp
index dc3d225082..5391b7775e 100644
--- a/modules/mono/mono_gd/gd_mono_property.cpp
+++ b/modules/mono/mono_gd/gd_mono_property.cpp
@@ -40,7 +40,7 @@
GDMonoProperty::GDMonoProperty(MonoProperty *p_mono_property, GDMonoClass *p_owner) {
owner = p_owner;
mono_property = p_mono_property;
- name = mono_property_get_name(mono_property);
+ name = String::utf8(mono_property_get_name(mono_property));
MonoMethod *prop_method = mono_property_get_get_method(mono_property);