diff options
| author | magian1127 <14800320+magian1127@users.noreply.github.com> | 2021-01-18 16:34:10 +0800 |
|---|---|---|
| committer | magian1127 <14800320+magian1127@users.noreply.github.com> | 2021-01-19 21:44:07 +0800 |
| commit | da234cdbc6a86c2b447ae57a7a5ce2d8090543ea (patch) | |
| tree | d95479b1d2fa44da270e98278d937c4bb97eed69 /modules/mono/mono_gd/gd_mono_field.cpp | |
| parent | f743f8cb9a796d3d61e15d06a160e2236193d15e (diff) | |
| download | redot-engine-da234cdbc6a86c2b447ae57a7a5ce2d8090543ea.tar.gz | |
C # mono supports Unicode code
Diffstat (limited to 'modules/mono/mono_gd/gd_mono_field.cpp')
| -rw-r--r-- | modules/mono/mono_gd/gd_mono_field.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/mono/mono_gd/gd_mono_field.cpp b/modules/mono/mono_gd/gd_mono_field.cpp index d91bb8210f..1d4d52dfce 100644 --- a/modules/mono/mono_gd/gd_mono_field.cpp +++ b/modules/mono/mono_gd/gd_mono_field.cpp @@ -509,7 +509,7 @@ IMonoClassMember::Visibility GDMonoField::get_visibility() { GDMonoField::GDMonoField(MonoClassField *p_mono_field, GDMonoClass *p_owner) { owner = p_owner; mono_field = p_mono_field; - name = mono_field_get_name(mono_field); + name = String::utf8(mono_field_get_name(mono_field)); MonoType *field_type = mono_field_get_type(mono_field); type.type_encoding = mono_type_get_type(field_type); MonoClass *field_type_class = mono_class_from_mono_type(field_type); |
