From 57c732ed782607ce6a8c4f9eeb65b95a00e37701 Mon Sep 17 00:00:00 2001 From: Bram Moolenaar Date: Fri, 28 Feb 2020 22:51:54 +0100 Subject: [PATCH] patch 8.2.0330: build error with popup window but without terminal Problem: Build error with popup window but without terminal. Solution: Add #ifdef. --- src/popupwin.c | 2 ++ src/version.c | 2 ++ 2 files changed, 4 insertions(+) diff --git a/src/popupwin.c b/src/popupwin.c index 6402ba3ad..45d648805 100644 --- a/src/popupwin.c +++ b/src/popupwin.c @@ -3506,7 +3506,9 @@ update_popups(void (*win_update)(win_T *wp)) wp->w_winrow -= top_off; wp->w_wincol -= left_extra; // cursor position matters in terminal in job mode +#ifdef FEAT_TERMINAL if (wp != curwin || !term_in_normal_mode()) +#endif { wp->w_wrow += top_off; wp->w_wcol += left_extra; diff --git a/src/version.c b/src/version.c index ced13f84a..b883605c6 100644 --- a/src/version.c +++ b/src/version.c @@ -738,6 +738,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 330, /**/ 329, /**/ -- 2.50.1