changeset 13194:3efdd2ae3717 v8.0.1471

patch 8.0.1471: on MS-Windows CursorIM highlighting no longer works commit https://github.com/vim/vim/commit/28944fecff3c40b44325921d45aaf67451b0937f Author: Bram Moolenaar <Bram@vim.org> 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)
author Christian Brabandt <cb@256bit.org>
date Sun, 04 Feb 2018 19:15:05 +0100
parents d42a3b8adbd3
children 65d3eb05ad74
files src/gui.c src/version.c
diffstat 2 files changed, 4 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- 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()
--- 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,