Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-12-22 20:00:34 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-12-22 20:00:34 +0400
commite06a0ba2bb22814392848d0cc7e9f00764e81fce (patch)
treeb0b28c1c6482509c3db5a0e030dd372b96fa5cd7 /source
parent4045b466769f1dfed21e8fb260b02959a69de659 (diff)
Fix/workaround for russian ui crash on exit
Crash was caused by data segment corruption near "string" in view3d_modeselect_pup(). Enlarged size of this static buffer, so it's now enough to store translated modeselect string. It's not actually fixes because in some other language this modeline might be much longer and it'll lead to corruptions again.
Diffstat (limited to 'source')
-rw-r--r--source/blender/editors/space_view3d/view3d_header.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source/blender/editors/space_view3d/view3d_header.c b/source/blender/editors/space_view3d/view3d_header.c
index 762fc51a34e..315da0423d1 100644
--- a/source/blender/editors/space_view3d/view3d_header.c
+++ b/source/blender/editors/space_view3d/view3d_header.c
@@ -276,7 +276,7 @@ static int modeselect_addmode(char *str, const char *title, int id, int icon)
static char *view3d_modeselect_pup(Scene *scene)
{
Object *ob= OBACT;
- static char string[256];
+ static char string[512];
const char *title= IFACE_("Mode: %t");
char *str = string;