From: Bram Moolenaar Date: Sun, 30 Apr 2017 18:46:32 +0000 (+0200) Subject: patch 8.0.0594: build failure when windows feature is missing X-Git-Tag: v8.0.0594 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=66c0e70b806cd8afdc9da9ddae11945ddf29841a;p=vim patch 8.0.0594: build failure when windows feature is missing Problem: Build failure when windows feature is missing. Solution: Add #ifdef. --- diff --git a/src/screen.c b/src/screen.c index 43490fb8f..325d9ae29 100644 --- a/src/screen.c +++ b/src/screen.c @@ -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 } } } diff --git a/src/version.c b/src/version.c index 9e6eeac7a..6e2620d25 100644 --- a/src/version.c +++ b/src/version.c @@ -764,6 +764,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 594, /**/ 593, /**/