]> granicus.if.org Git - vim/commitdiff
patch 8.2.1196: build failure with normal features v8.2.1196
authorBram Moolenaar <Bram@vim.org>
Sun, 12 Jul 2020 18:44:37 +0000 (20:44 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 12 Jul 2020 18:44:37 +0000 (20:44 +0200)
Problem:    Build failure with normal features.
Solution:   Add #ifdef.

src/popupwin.c
src/version.c

index 0af6d52de9f39e5950b6adf26e5eb8481615beb0..59a0bdf78a8d062336fa0feacffd15a4288fc64a 100644 (file)
@@ -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)
                                {
index b7555b7236ec0e911e1bbfcb664d5bf3475b9ecd..34acc6b69f548f4a9773ceee58ff8bd5b33ecee6 100644 (file)
@@ -754,6 +754,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    1196,
 /**/
     1195,
 /**/