]> granicus.if.org Git - vim/commitdiff
patch 8.1.2122: cannot build without terminal feature v8.1.2122
authorBram Moolenaar <Bram@vim.org>
Mon, 7 Oct 2019 20:38:58 +0000 (22:38 +0200)
committerBram Moolenaar <Bram@vim.org>
Mon, 7 Oct 2019 20:38:58 +0000 (22:38 +0200)
Problem:    Cannot build without terminal feature.
Solution:   Add #ifdef.

src/version.c
src/window.c

index f4d027534435b331cbb9cee269ea5823a0ac7183..e207a371070e9ba4483ce0b361a9a68ba1370c24 100644 (file)
@@ -753,6 +753,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    2122,
 /**/
     2121,
 /**/
index 6174c02fd376d49cd4b467ac896dc46d52d090cd..0fda9f05c666485d2f43448ed0a8a9960584e4e3 100644 (file)
@@ -4654,9 +4654,11 @@ win_enter_ext(
     maketitle();
 #endif
     curwin->w_redr_status = TRUE;
+#ifdef FEAT_TERMINAL
     if (bt_terminal(wp->w_buffer))
        // terminal is likely in another mode
        redraw_mode = TRUE;
+#endif
     redraw_tabline = TRUE;
     if (restart_edit)
        redraw_later(VALID);    /* causes status line redraw */