[Bf-blender-cvs] [6450477] master: Fix broken build without IME and/or I18N (caused by rBcb6307162b4c12).
Bastien Montagne
noreply at git.blender.org
Tue May 3 16:58:13 CEST 2016
Commit: 645047708d4bd7f4fafa1d96168400700f99ff43
Author: Bastien Montagne
Date: Tue May 3 16:56:52 2016 +0200
Branches: master
https://developer.blender.org/rB645047708d4bd7f4fafa1d96168400700f99ff43
Fix broken build without IME and/or I18N (caused by rBcb6307162b4c12).
===================================================================
M source/blender/blentranslation/intern/blt_lang.c
===================================================================
diff --git a/source/blender/blentranslation/intern/blt_lang.c b/source/blender/blentranslation/intern/blt_lang.c
index 40771b3..74c2b4b 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) {
More information about the Bf-blender-cvs
mailing list