summaryrefslogtreecommitdiff
path: root/src/gui.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-12-17 21:54:55 +0100
committerBram Moolenaar <Bram@vim.org>2017-12-17 21:54:55 +0100
commitcb89c98c264b0fe9fd26e3501eab5a062e57c064 (patch)
tree0578390eefcf78e353b45f60487de11471365aa2 /src/gui.c
parentf0b03c4e98f8a7184d8b4a5d702cbcd602426923 (diff)
downloadvim-git-cb89c98c264b0fe9fd26e3501eab5a062e57c064.tar.gz
patch 8.0.1401: cannot build with GTK but without XIMv8.0.1401
Problem: Cannot build with GTK but without XIM. (Guido) Solution: Adjust #ifdef. (closes #2461)
Diffstat (limited to 'src/gui.c')
-rw-r--r--src/gui.c2
1 files changed, 1 insertions, 1 deletions
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;