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
committerBrecht Van Lommel <brecht@blender.org>2020-04-22 22:03:13 +0300
commitd17b371a83de0daf228138dc0eca0f788e024a62 (patch)
tree5e1296eb74fcd88ec156b33ea495ecbd931c12ee /source/blender/blentranslation
parent0dfe30502a02c0567be50f980a8f1e00198cf93e (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! */