# HG changeset patch # User Christian Brabandt # Date 1517768105 -3600 # Node ID 3efdd2ae37172061f7d5bf6169cd1a98c4e2c0b1 # Parent d42a3b8adbd3d974bcbe137c313cf498e8e30a9e patch 8.0.1471: on MS-Windows CursorIM highlighting no longer works commit https://github.com/vim/vim/commit/28944fecff3c40b44325921d45aaf67451b0937f Author: Bram Moolenaar Date: Sun Feb 4 19:01:31 2018 +0100 patch 8.0.1471: on MS-Windows CursorIM highlighting no longer works Problem: On MS-Windows CursorIM highlighting no longer works. Solution: Adjust #if statements. (Ken Takata) diff --git a/src/gui.c b/src/gui.c --- a/src/gui.c +++ b/src/gui.c @@ -1137,13 +1137,13 @@ gui_update_cursor( if (id > 0) { cattr = syn_id2colors(id, &cfg, &cbg); -#if defined(FEAT_XIM) || defined(FEAT_HANGULIN) +#if defined(FEAT_MBYTE) || defined(FEAT_HANGULIN) { static int iid; guicolor_T fg, bg; if ( -# if defined(FEAT_GUI_GTK) && !defined(FEAT_HANGULIN) +# if defined(FEAT_GUI_GTK) && defined(FEAT_XIM) && !defined(FEAT_HANGULIN) preedit_get_status() # else im_get_status() diff --git a/src/version.c b/src/version.c --- a/src/version.c +++ b/src/version.c @@ -772,6 +772,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 1471, +/**/ 1470, /**/ 1469,