Mercurial > vim
changeset 19546:71d0c4f5fcd9 v8.2.0330
patch 8.2.0330: build error with popup window but without terminal
Commit: https://github.com/vim/vim/commit/57c732ed782607ce6a8c4f9eeb65b95a00e37701
Author: Bram Moolenaar <Bram@vim.org>
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Fri, 28 Feb 2020 23:00:03 +0100 |
parents | 4fa3d3e6f819 |
children | 2d657ba32b83 |
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 @@ -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;