diff options
author | Campbell Barton <ideasman42@gmail.com> | 2013-04-25 12:13:46 +0400 |
---|---|---|
committer | Campbell Barton <ideasman42@gmail.com> | 2013-04-25 12:13:46 +0400 |
commit | 16f61b8b0b7c29aab69f359c2b0d172d960d425f (patch) | |
tree | a8df416679a38330b35ba6ee1e5c100735de170a | |
parent | 70de23dabb17634940f25d76c03e3ac3b62d58d4 (diff) |
fix [#35072] View name of 3Dview is clamped in Japanese
just increase size of string to allow for utf8 chars.
-rw-r--r-- | source/blender/editors/space_view3d/view3d_draw.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_draw.c b/source/blender/editors/space_view3d/view3d_draw.c index 776b1a0bbb3..b30f13dd81b 100644 --- a/source/blender/editors/space_view3d/view3d_draw.c +++ b/source/blender/editors/space_view3d/view3d_draw.c @@ -853,7 +853,7 @@ static void draw_viewport_name(ARegion *ar, View3D *v3d, rcti *rect) const char *name = view3d_get_name(v3d, rv3d); /* XXX 24 may be a bit small for unicode languages (Chinese in utf-8...) */ #ifdef WITH_INTERNATIONAL - char tmpstr[32]; + char tmpstr[64]; #else char tmpstr[24]; #endif |