]> granicus.if.org Git - vim/commitdiff
patch 8.0.1471: on MS-Windows CursorIM highlighting no longer works v8.0.1471
authorBram Moolenaar <Bram@vim.org>
Sun, 4 Feb 2018 18:01:31 +0000 (19:01 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 4 Feb 2018 18:01:31 +0000 (19:01 +0100)
Problem:    On MS-Windows CursorIM highlighting no longer works.
Solution:   Adjust #if statements. (Ken Takata)

src/gui.c
src/version.c

index c9d00a6b70508f6ebd6de5c668582b7c8d47aac9..691153a7a8639684271b45289d33c467d16474c8 100644 (file)
--- 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()
index 5d417029be89bc53a7ca25716e76b45be0c33485..df15d1117d5615cc7bd661a42cdd93bf2dcc24af 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1471,
 /**/
     1470,
 /**/