]> granicus.if.org Git - vim/commitdiff
patch 8.2.0330: build error with popup window but without terminal v8.2.0330
authorBram Moolenaar <Bram@vim.org>
Fri, 28 Feb 2020 21:51:54 +0000 (22:51 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 28 Feb 2020 21:51:54 +0000 (22:51 +0100)
Problem:    Build error with popup window but without terminal.
Solution:   Add #ifdef.

src/popupwin.c
src/version.c

index 6402ba3ad50ee15a3736601b8503240551323170..45d64880590a4a5e744237c4222b056d71597717 100644 (file)
@@ -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;
index ced13f84a7a18a50846f19b5a3d338f0454b0836..b883605c695eab857712c70c723aabd0909677bb 100644 (file)
@@ -738,6 +738,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    330,
 /**/
     329,
 /**/