]> granicus.if.org Git - vim/commitdiff
patch 8.0.1401: cannot build with GTK but without XIM v8.0.1401
authorBram Moolenaar <Bram@vim.org>
Sun, 17 Dec 2017 20:54:55 +0000 (21:54 +0100)
committerBram Moolenaar <Bram@vim.org>
Sun, 17 Dec 2017 20:54:55 +0000 (21:54 +0100)
Problem:    Cannot build with GTK but without XIM. (Guido)
Solution:   Adjust #ifdef. (closes #2461)

src/gui.c
src/version.c

index 4f03ed8096db00e06b176fb8c33a35d6c28ea540..5aa8214f5f32d05ca80bd541c0172813f046ca01 100644 (file)
--- a/src/gui.c
+++ b/src/gui.c
@@ -1136,7 +1136,7 @@ gui_update_cursor(
        if (id > 0)
        {
            cattr = syn_id2colors(id, &cfg, &cbg);
-#if defined(FEAT_MBYTE) || defined(FEAT_HANGULIN)
+#if defined(FEAT_XIM) || defined(FEAT_HANGULIN)
            {
                static int iid;
                guicolor_T fg, bg;
index 2da64a27381bfb7e288cc591760566ad7a9015ba..ba65a54fac116a514ea75bfc9bd93cc115bdecb1 100644 (file)
@@ -771,6 +771,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1401,
 /**/
     1400,
 /**/