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.
This commit is contained in:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user