From: Bram Moolenaar Date: Sun, 4 Feb 2018 18:01:31 +0000 (+0100) Subject: patch 8.0.1471: on MS-Windows CursorIM highlighting no longer works X-Git-Tag: v8.0.1471 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=28944fecff3c40b44325921d45aaf67451b0937f;p=vim 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 index c9d00a6b7..691153a7a 100644 --- 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 index 5d417029b..df15d1117 100644 --- a/src/version.c +++ b/src/version.c @@ -771,6 +771,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1471, /**/ 1470, /**/