Skip to content

Commit 1efefda

Browse files
committed
patch 8.2.2003: build error with +conceal but without +popupwin
Problem: Build error with +conceal but without +popupwin. Solution: Add #ifdef. (Tom Ryder, closes #7316)
1 parent 52bf81c commit 1efefda

2 files changed

Lines changed: 6 additions & 2 deletions

File tree

src/drawline.c

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2446,16 +2446,18 @@ win_line(
24462446
&& conceal_cursor_line(wp)
24472447
&& (int)wp->w_virtcol <= vcol + n_skip)
24482448
{
2449-
# ifdef FEAT_RIGHTLEFT
2449+
# ifdef FEAT_RIGHTLEFT
24502450
if (wp->w_p_rl)
24512451
wp->w_wcol = wp->w_width - col + boguscols - 1;
24522452
else
2453-
# endif
2453+
# endif
24542454
wp->w_wcol = col - boguscols;
24552455
wp->w_wrow = row;
24562456
did_wcol = TRUE;
24572457
curwin->w_valid |= VALID_WCOL|VALID_WROW|VALID_VIRTCOL;
2458+
# ifdef FEAT_PROP_POPUP
24582459
curwin->w_flags &= ~(WFLAG_WCOL_OFF_ADDED | WFLAG_WROW_OFF_ADDED);
2460+
# endif
24592461
}
24602462
#endif
24612463

src/version.c

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

751751
static int included_patches[] =
752752
{ /* Add new patch number below this line */
753+
/**/
754+
2003,
753755
/**/
754756
2002,
755757
/**/

0 commit comments

Comments
 (0)