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:
Sergey Sharybin
2011-09-21 15:07:19 +00:00
parent c589dec2ea
commit 2dbfa5a3e4

View File

@@ -81,8 +81,8 @@ static const char *locales[] = {
"catalan", "ca_AD", "catalan", "ca_AD",
"czech", "cs_CZ", "czech", "cs_CZ",
"ptb", "pt_BR", "ptb", "pt_BR",
"chs", "zh_CN", "Chinese (Simplified)_China.1252", "zh_CN",
"cht", "zh_TW", "Chinese (Traditional)_China.1252", "zh_TW",
"russian", "ru_RU", "russian", "ru_RU",
"croatian", "hr_HR", "croatian", "hr_HR",
"serbian", "sr_RS", "serbian", "sr_RS",