Skip to content

Commit cb89c98

Browse files
committed
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)
1 parent f0b03c4 commit cb89c98

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

src/gui.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1136,7 +1136,7 @@ gui_update_cursor(
11361136
if (id > 0)
11371137
{
11381138
cattr = syn_id2colors(id, &cfg, &cbg);
1139-
#if defined(FEAT_MBYTE) || defined(FEAT_HANGULIN)
1139+
#if defined(FEAT_XIM) || defined(FEAT_HANGULIN)
11401140
{
11411141
static int iid;
11421142
guicolor_T fg, bg;

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -771,6 +771,8 @@ static char *(features[]) =
771771

772772
static int included_patches[] =
773773
{ /* Add new patch number below this line */
774+
/**/
775+
1401,
774776
/**/
775777
1400,
776778
/**/

0 commit comments

Comments
 (0)