summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-07-12 20:44:37 +0200
committerBram Moolenaar <Bram@vim.org>2020-07-12 20:44:37 +0200
commit83e7450053399942e1c9efa802c568b51d948541 (patch)
treef751dbdc5592285dc85bfb125040593a5b612f8f
parent4d57ba02029071e5947a54766e9f5d42e3bb3008 (diff)
patch 8.2.1196: build failure with normal featuresv8.2.1196
Problem: Build failure with normal features. Solution: Add #ifdef.
-rw-r--r--src/popupwin.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/popupwin.c b/src/popupwin.c
index 0af6d52de9..59a0bdf78a 100644
--- a/src/popupwin.c
+++ b/src/popupwin.c
@@ -3504,10 +3504,12 @@ may_update_popup_mask(int type)
wp = mouse_find_win(&line_cp, &col_cp, IGNORE_POPUP);
if (wp != NULL)
{
+#if defined(FEAT_TERMINAL)
// A terminal window needs to be redrawn.
if (bt_terminal(wp->w_buffer))
redraw_win_later(wp, NOT_VALID);
else
+#endif
{
if (wp != prev_wp)
{
diff --git a/src/version.c b/src/version.c
index b7555b7236..34acc6b69f 100644
--- a/src/version.c
+++ b/src/version.c
@@ -755,6 +755,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 1196,
+/**/
1195,
/**/
1194,