# HG changeset patch # User Bram Moolenaar # Date 1582927203 -3600 # Node ID 71d0c4f5fcd9cdfe9f5dcb7f999dc662a1db9f60 # Parent 4fa3d3e6f8196daaea09812a78848dd1f9170b1b patch 8.2.0330: build error with popup window but without terminal Commit: https://github.com/vim/vim/commit/57c732ed782607ce6a8c4f9eeb65b95a00e37701 Author: Bram Moolenaar Date: Fri Feb 28 22:51:54 2020 +0100 patch 8.2.0330: build error with popup window but without terminal Problem: Build error with popup window but without terminal. Solution: Add #ifdef. diff --git a/src/popupwin.c b/src/popupwin.c --- a/src/popupwin.c +++ b/src/popupwin.c @@ -3506,7 +3506,9 @@ update_popups(void (*win_update)(win_T * 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 --- a/src/version.c +++ b/src/version.c @@ -739,6 +739,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 330, +/**/ 329, /**/ 328,