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:
authorHarley Acheson <harley.acheson@gmail.com>2020-04-22 21:27:29 +0300
committerHarley Acheson <harley.acheson@gmail.com>2020-04-22 21:28:15 +0300
commitc3d8fa1301f7bc0785f82453b9d9760dc4447670 (patch)
treee5105dd24cc44c14d863515e57b6836c55e46894 /source/blender/blentranslation
parent821316b034186cff1456afefeab7a10815e1b601 (diff)
UI: Always check if IME Supported After Changing Language
Changing from IME-enabled language to English did not turn off IME. Differential Revision: https://developer.blender.org/D7486 Reviewed by Campbell Barton
Diffstat (limited to 'source/blender/blentranslation')
-rw-r--r--source/blender/blentranslation/intern/blt_lang.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/source/blender/blentranslation/intern/blt_lang.c b/source/blender/blentranslation/intern/blt_lang.c
index a533d29b188..bcbffe56636 100644
--- a/source/blender/blentranslation/intern/blt_lang.c
+++ b/source/blender/blentranslation/intern/blt_lang.c
@@ -265,10 +265,6 @@ void BLT_lang_set(const char *str)
const char *short_locale = str ? str : LOCALE(ulang);
const char *short_locale_utf8 = NULL;
- if (U.language == ULANGUAGE_ENGLISH) {
- return;
- }
-
/* We want to avoid locales like '.UTF-8'! */
if (short_locale[0]) {
/* Hurrey! encoding needs to be placed *before* variant! */