summaryrefslogtreecommitdiffstats
path: root/src/quickfix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-01-26 17:43:21 +0100
committerBram Moolenaar <Bram@vim.org>2019-01-26 17:43:21 +0100
commit6aba96dd5778b4201c9f5cb065d7669d3398e724 (patch)
tree325d892f25bfa2fabef979e3dc21f6725b5cea54 /src/quickfix.c
parent2a953fcf107d24229fec8af820ee62c908caafbf (diff)
patch 8.1.0828: still using FEAT_VIRTUALEDITv8.1.0828
Problem: Still using FEAT_VIRTUALEDIT. Solution: Remove last use of FEAT_VIRTUALEDIT.
Diffstat (limited to 'src/quickfix.c')
-rw-r--r--src/quickfix.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/quickfix.c b/src/quickfix.c
index 8b6c223c3c..e292819f2e 100644
--- a/src/quickfix.c
+++ b/src/quickfix.c
@@ -3064,9 +3064,7 @@ qf_jump_goto_line(
if (qf_col > 0)
{
curwin->w_cursor.col = qf_col - 1;
-#ifdef FEAT_VIRTUALEDIT
curwin->w_cursor.coladd = 0;
-#endif
if (qf_viscol == TRUE)
{
// Check each character from the beginning of the error
@@ -4108,9 +4106,7 @@ qf_win_goto(win_T *win, linenr_T lnum)
curbuf = win->w_buffer;
curwin->w_cursor.lnum = lnum;
curwin->w_cursor.col = 0;
-#ifdef FEAT_VIRTUALEDIT
curwin->w_cursor.coladd = 0;
-#endif
curwin->w_curswant = 0;
update_topline(); // scroll to show the line
redraw_later(VALID);