changeset 21291:c6fc976a8741 v8.2.1196

patch 8.2.1196: build failure with normal features Commit: https://github.com/vim/vim/commit/83e7450053399942e1c9efa802c568b51d948541 Author: Bram Moolenaar <Bram@vim.org> Date: Sun Jul 12 20:44:37 2020 +0200 patch 8.2.1196: build failure with normal features Problem: Build failure with normal features. Solution: Add #ifdef.
author Bram Moolenaar <Bram@vim.org>
date Sun, 12 Jul 2020 20:45:04 +0200
parents b6e04e03f5ca
children 818e66497eb9
files src/popupwin.c src/version.c
diffstat 2 files changed, 4 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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)
 				{
--- 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,