Skip to content

Commit f21118e

Browse files
committed
patch 8.1.2078: build error with +textprop but without +terminal
Problem: Build error with +textprop but without +terminal. (Tony Mechelynck) Solution: Add #ifdef.
1 parent 4aea03e commit f21118e

2 files changed

Lines changed: 4 additions & 0 deletions

File tree

src/popupwin.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1638,11 +1638,13 @@ popup_create(typval_T *argvars, typval_T *rettv, create_type_T type)
16381638
semsg(_(e_nobufnr), argvars[0].vval.v_number);
16391639
return NULL;
16401640
}
1641+
#ifdef FEAT_TERMINAL
16411642
if (buf->b_term != NULL)
16421643
{
16431644
emsg(_("E278: Cannot put a terminal buffer in a popup window"));
16441645
return NULL;
16451646
}
1647+
#endif
16461648
}
16471649
else if (!(argvars[0].v_type == VAR_STRING
16481650
&& argvars[0].vval.v_string != NULL)

src/version.c

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

758758
static int included_patches[] =
759759
{ /* Add new patch number below this line */
760+
/**/
761+
2078,
760762
/**/
761763
2077,
762764
/**/

0 commit comments

Comments
 (0)