summaryrefslogtreecommitdiffstats
path: root/src/globals.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-11-25 17:14:33 +0100
committerBram Moolenaar <Bram@vim.org>2017-11-25 17:14:33 +0100
commit819edbe078c8579f3620d12dac830f12ccdc5a45 (patch)
tree9aeaacf944c52f62fb2caaed49c8319746e3dae6 /src/globals.h
parent50d43153a7e3e452cd166cde0d84ecacd316321f (diff)
patch 8.0.1338: USE_IM_CONTROL is confusing and incompletev8.0.1338
Problem: USE_IM_CONTROL is confusing and incomplete. Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI.
Diffstat (limited to 'src/globals.h')
-rw-r--r--src/globals.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/globals.h b/src/globals.h
index b479579fda..9f1864ddd1 100644
--- a/src/globals.h
+++ b/src/globals.h
@@ -1022,7 +1022,7 @@ EXTERN int stop_insert_mode; /* for ":stopinsert" and 'insertmode' */
EXTERN int KeyTyped; /* TRUE if user typed current char */
EXTERN int KeyStuffed; /* TRUE if current char from stuffbuf */
-#ifdef USE_IM_CONTROL
+#ifdef FEAT_MBYTE
EXTERN int vgetc_im_active; /* Input Method was active for last
character obtained from vgetc() */
#endif