]> granicus.if.org Git - vim/commitdiff
patch 8.0.0594: build failure when windows feature is missing v8.0.0594
authorBram Moolenaar <Bram@vim.org>
Sun, 30 Apr 2017 18:46:32 +0000 (20:46 +0200)
committerBram Moolenaar <Bram@vim.org>
Sun, 30 Apr 2017 18:46:32 +0000 (20:46 +0200)
Problem:    Build failure when windows feature is missing.
Solution:   Add #ifdef.

src/screen.c
src/version.c

index 43490fb8f675d40d3534fbef47e4716d5775e73e..325d9ae297964ad1d87d5d288de1827dd16a79c1 100644 (file)
@@ -275,7 +275,9 @@ redraw_buf_and_status_later(buf_T *buf, int type)
        if (wp->w_buffer == buf)
        {
            redraw_win_later(wp, type);
+#ifdef FEAT_WINDOWS
            wp->w_redr_status = TRUE;
+#endif
        }
     }
 }
index 9e6eeac7a11445871cebd4b49a799087181cdbdf..6e2620d25957ec5dade243d255b81b4f6bdd3779 100644 (file)
@@ -764,6 +764,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    594,
 /**/
     593,
 /**/