commit | a83fe75ca76f6f74daa1e5a620054b973b43379b | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Thu Jun 29 22:33:13 2017 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Thu Jun 29 22:33:13 2017 +0200 |
tree | b0b42a3796a5e6333fedf141ae33f30989a24999 | |
parent | c2226845eb207bcd1a24e1afa941acbfecbc5170 [diff] [blame] |
patch 8.0.0691: compiler warning without the linebreak feature Problem: Compiler warning without the linebreak feature. Solution: Add #ifdef. (John Marriott)
diff --git a/src/edit.c b/src/edit.c index 912f05f..e083708 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -7329,7 +7329,9 @@ #ifdef FEAT_VIRTUALEDIT if (virtual_active()) { +# ifdef FEAT_LINEBREAK int width; +# endif int v = getviscol(); if (v == 0)