summaryrefslogtreecommitdiffstats
path: root/src/gui_w32.c
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/gui_w32.c
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/gui_w32.c')
-rw-r--r--src/gui_w32.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/gui_w32.c b/src/gui_w32.c
index d1c9605ca0..598034d36f 100644
--- a/src/gui_w32.c
+++ b/src/gui_w32.c
@@ -485,12 +485,10 @@ static void TrackUserActivity(UINT uMsg);
* These LOGFONT used for IME.
*/
#ifdef FEAT_MBYTE
-# ifdef USE_IM_CONTROL
/* holds LOGFONT for 'guifontwide' if available, otherwise 'guifont' */
static LOGFONT norm_logfont;
/* holds LOGFONT for 'guifont' always. */
static LOGFONT sub_logfont;
-# endif
#endif
#ifdef FEAT_MBYTE_IME