From: Bram Moolenaar Date: Sun, 17 Dec 2017 20:54:55 +0000 (+0100) Subject: patch 8.0.1401: cannot build with GTK but without XIM X-Git-Tag: v8.0.1401 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=cb89c98c264b0fe9fd26e3501eab5a062e57c064;p=vim patch 8.0.1401: cannot build with GTK but without XIM Problem: Cannot build with GTK but without XIM. (Guido) Solution: Adjust #ifdef. (closes #2461) --- diff --git a/src/gui.c b/src/gui.c index 4f03ed809..5aa8214f5 100644 --- 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; diff --git a/src/version.c b/src/version.c index 2da64a273..ba65a54fa 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 */ +/**/ + 1401, /**/ 1400, /**/