summaryrefslogtreecommitdiff
path: root/src/memline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-26 17:28:26 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-26 17:28:26 +0100
commit29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf (patch)
tree66144403e05268df8594b01d0298db4f570ed60f /src/memline.c
parent3e460fd8b72db905fbf9f01b00371384ffc415b8 (diff)
downloadvim-git-29ddebef4038d2d2b3bc9d8d3b0109f4046d6fbf.tar.gz
patch 8.1.0826: too many #ifdefsv8.1.0826
Problem: Too many #ifdefs. Solution: Graduate FEAT_VIRTUALEDIT. Adds about 10Kbyte to the code.
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();