summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2017-06-29 22:33:13 +0200
committerBram Moolenaar <Bram@vim.org>2017-06-29 22:33:13 +0200
commita83fe75ca76f6f74daa1e5a620054b973b43379b (patch)
treeb0b42a3796a5e6333fedf141ae33f30989a24999
parentc2226845eb207bcd1a24e1afa941acbfecbc5170 (diff)
downloadvim-git-a83fe75ca76f6f74daa1e5a620054b973b43379b.tar.gz
patch 8.0.0691: compiler warning without the linebreak featurev8.0.0691
Problem: Compiler warning without the linebreak feature. Solution: Add #ifdef. (John Marriott)
-rw-r--r--src/edit.c2
-rw-r--r--src/version.c2
2 files changed, 4 insertions, 0 deletions
diff --git a/src/edit.c b/src/edit.c
index 912f05f38..e08370863 100644
--- a/src/edit.c
+++ b/src/edit.c
@@ -7329,7 +7329,9 @@ oneleft(void)
#ifdef FEAT_VIRTUALEDIT
if (virtual_active())
{
+# ifdef FEAT_LINEBREAK
int width;
+# endif
int v = getviscol();
if (v == 0)
diff --git a/src/version.c b/src/version.c
index 27f04365e..4e7558a4b 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 */
/**/
+ 691,
+/**/
690,
/**/
689,