summaryrefslogtreecommitdiffstats
path: root/src/move.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/move.c')
-rw-r--r--src/move.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/move.c b/src/move.c
index 484b931abf..d340f0223c 100644
--- a/src/move.c
+++ b/src/move.c
@@ -988,7 +988,9 @@ curs_columns(
/* long line wrapping, adjust curwin->w_wrow */
if (curwin->w_wcol >= curwin->w_width)
{
+#ifdef FEAT_LINEBREAK
char_u *sbr;
+#endif
/* this same formula is used in validate_cursor_col() */
n = (curwin->w_wcol - curwin->w_width) / width + 1;