From 2dbfa5a3e4b54d59a6e71b01f8f4cebf1c220af7 Mon Sep 17 00:00:00 2001 From: Sergey Sharybin Date: Wed, 21 Sep 2011 15:07:19 +0000 Subject: 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. --- source/blender/blenfont/intern/blf_lang.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source/blender/blenfont') 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", -- cgit v1.2.3