summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-04-30 20:46:32 +0200
committerBram Moolenaar <Bram@vim.org>2017-04-30 20:46:32 +0200
commit66c0e70b806cd8afdc9da9ddae11945ddf29841a (patch)
treec29ce3eec13f3d6f531d6eb89142fd861e438da9
parent45cf6e910c6d162775ca9d470fac4b6db844001f (diff)
downloadvim-66c0e70b806cd8afdc9da9ddae11945ddf29841a.zip
patch 8.0.0594: build failure when windows feature is missing
Problem: Build failure when windows feature is missing. Solution: Add #ifdef.
-rw-r--r--src/screen.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
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
@@ -765,6 +765,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
+ 594,
+/**/
593,
/**/
592,