summaryrefslogtreecommitdiff
path: root/src/memline.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/memline.c')
-rw-r--r--src/memline.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/memline.c b/src/memline.c
index f99344bd4..c62ea5f60 100644
--- a/src/memline.c
+++ b/src/memline.c
@@ -5667,9 +5667,7 @@ goto_byte(long cnt)
{
curwin->w_cursor.lnum = lnum;
curwin->w_cursor.col = (colnr_T)boff;
-# ifdef FEAT_VIRTUALEDIT
curwin->w_cursor.coladd = 0;
-# endif
curwin->w_set_curswant = TRUE;
}
check_cursor();