Attempt to fix #28709: change language to simplified Chinese: sequencer -> add image strip crashes Blender
Crash was caused by sprintf which tried to parse bytes sequence belongs to chinese letter. Using codepage 1252 for LC_ALL seems to fix this issue, but needs further testing.
This commit is contained in:
@@ -81,8 +81,8 @@ static const char *locales[] = {
|
||||
"catalan", "ca_AD",
|
||||
"czech", "cs_CZ",
|
||||
"ptb", "pt_BR",
|
||||
"chs", "zh_CN",
|
||||
"cht", "zh_TW",
|
||||
"Chinese (Simplified)_China.1252", "zh_CN",
|
||||
"Chinese (Traditional)_China.1252", "zh_TW",
|
||||
"russian", "ru_RU",
|
||||
"croatian", "hr_HR",
|
||||
"serbian", "sr_RS",
|
||||
|
Reference in New Issue
Block a user