diff options
author | Harley Acheson <harley.acheson@gmail.com> | 2020-04-22 21:27:29 +0300 |
---|---|---|
committer | Harley Acheson <harley.acheson@gmail.com> | 2020-04-22 21:28:15 +0300 |
commit | c3d8fa1301f7bc0785f82453b9d9760dc4447670 (patch) | |
tree | e5105dd24cc44c14d863515e57b6836c55e46894 /source/blender/blentranslation/intern/blt_lang.c | |
parent | 821316b034186cff1456afefeab7a10815e1b601 (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/intern/blt_lang.c')
-rw-r--r-- | source/blender/blentranslation/intern/blt_lang.c | 4 |
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! */ |