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
diff options
context:
space:
mode:
authorSergey Sharybin <sergey.vfx@gmail.com>2011-09-21 19:07:19 +0400
committerSergey Sharybin <sergey.vfx@gmail.com>2011-09-21 19:07:19 +0400
commit2dbfa5a3e4b54d59a6e71b01f8f4cebf1c220af7 (patch)
treec40b873b8f77902a4b802f8c5194bf8c0d0ce343 /source/blender/blenfont
parentc589dec2ea3a9ef794c31e079a2010f2c4841a42 (diff)
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.
Diffstat (limited to 'source/blender/blenfont')
-rw-r--r--source/blender/blenfont/intern/blf_lang.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/blender/blenfont/intern/blf_lang.c b/source/blender/blenfont/intern/blf_lang.c
index c0163be4980..b0b06bf059b 100644
--- a/source/blender/blenfont/intern/blf_lang.c
+++ b/source/blender/blenfont/intern/blf_lang.c
@@ -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",