patch 9.2.0164: build error when XCLIPBOARD is not defined

Problem:  build error when XCLIPBOARD is not defined
          (Tony Mechelynck, after v9.2.0158)
Solution: Update ifdefs

related: #19676

Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
Christian Brabandt
2026-03-14 17:10:21 +00:00
parent 09af51afbe
commit ef3cee793f
2 changed files with 7 additions and 2 deletions
+5 -2
View File
@@ -1462,8 +1462,11 @@ win_line(
area_highlighting = TRUE;
vi_attr = HL_ATTR(HLF_V);
#if defined(FEAT_CLIPBOARD) && defined(FEAT_X11)
if (xterm_dpy
&& ((clip_star.available && !clip_star.owned
if (
# ifdef FEAT_XCLIPBOARD
xterm_dpy &&
# endif
((clip_star.available && !clip_star.owned
&& clip_isautosel_star())
|| (clip_plus.available && !clip_plus.owned
&& clip_isautosel_plus())))
+2
View File
@@ -734,6 +734,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
164,
/**/
163,
/**/