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:
authorBastien Montagne <montagne29@wanadoo.fr>2016-05-03 17:56:52 +0300
committerBastien Montagne <montagne29@wanadoo.fr>2016-05-03 17:56:52 +0300
commit645047708d4bd7f4fafa1d96168400700f99ff43 (patch)
tree4ad5152e261f5c40f47102cb5ab144530d925ec9 /source/blender/blentranslation
parent9151095dbe1d43eb1af978e86233e6eb9dd29f26 (diff)
Fix broken build without IME and/or I18N (caused by rBcb6307162b4c12).
Diffstat (limited to 'source/blender/blentranslation')
-rw-r--r--source/blender/blentranslation/intern/blt_lang.c10
1 files changed, 4 insertions, 6 deletions
diff --git a/source/blender/blentranslation/intern/blt_lang.c b/source/blender/blentranslation/intern/blt_lang.c
index 40771b3315a..74c2b4b7472 100644
--- a/source/blender/blentranslation/intern/blt_lang.c
+++ b/source/blender/blentranslation/intern/blt_lang.c
@@ -54,6 +54,10 @@
#include "MEM_guardedalloc.h"
+/* Cached IME support flags */
+static bool ime_is_lang_supported = false;
+static void blt_lang_check_ime_supported(void);
+
#ifdef WITH_INTERNATIONAL
#include "boost_locale_wrapper.h"
@@ -64,12 +68,6 @@ static int num_locales = 0;
static EnumPropertyItem *locales_menu = NULL;
static int num_locales_menu = 0;
-#ifdef WITH_INPUT_IME
-/* Cached IME support flags */
-static bool ime_is_lang_supported = false;
-static void blt_lang_check_ime_supported(void);
-#endif
-
static void free_locales(void)
{
if (locales) {