commit | 84d8cdd76900a8834260bc69d0be202923614ae0 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sat Aug 30 13:32:06 2014 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sat Aug 30 13:32:06 2014 +0200 |
tree | 777355a14c92429be69913476dbd7078ee90de25 | |
parent | c40bdee42a58c48e00c76886289904849e8c4c3c [diff] [blame] |
updated for version 7.4.429 Problem: Build fails with fewer features. (Elimar Riesebieter) Solution: Add #ifdef.
diff --git a/src/normal.c b/src/normal.c index 7479ac7..a8d7411 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -4518,8 +4518,10 @@ */ validate_virtcol(); virtcol = curwin->w_virtcol; +# if defined(FEAT_LINEBREAK) if (virtcol > (colnr_T)width1 && *p_sbr != NUL) virtcol -= vim_strsize(p_sbr); +# endif if (virtcol > curwin->w_curswant && (curwin->w_curswant < (colnr_T)width1