From 819edbe078c8579f3620d12dac830f12ccdc5a45 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Sat, 25 Nov 2017 17:14:33 +0100 Subject: patch 8.0.1338: USE_IM_CONTROL is confusing and incomplete Problem: USE_IM_CONTROL is confusing and incomplete. Solution: Just use FEAT_MBYTE. Call 'imactivatefunc' also without GUI. --- src/globals.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/globals.h') 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 -- cgit v1.2.3