diff options
author | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-21 19:07:19 +0400 |
---|---|---|
committer | Sergey Sharybin <sergey.vfx@gmail.com> | 2011-09-21 19:07:19 +0400 |
commit | 2dbfa5a3e4b54d59a6e71b01f8f4cebf1c220af7 (patch) | |
tree | c40b873b8f77902a4b802f8c5194bf8c0d0ce343 /source/blender/blenfont/intern | |
parent | c589dec2ea3a9ef794c31e079a2010f2c4841a42 (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/intern')
-rw-r--r-- | source/blender/blenfont/intern/blf_lang.c | 4 |
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", |