1
0
forked from aniani/vim

patch 8.1.0828: still using FEAT_VIRTUALEDIT

Problem:    Still using FEAT_VIRTUALEDIT.
Solution:   Remove last use of FEAT_VIRTUALEDIT.
This commit is contained in:
Bram Moolenaar 2019-01-26 17:43:21 +01:00
parent 2a953fcf10
commit 6aba96dd57
2 changed files with 2 additions and 4 deletions

View File

@ -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);

View File

@ -783,6 +783,8 @@ static char *(features[]) =
static int included_patches[] =
{ /* Add new patch number below this line */
/**/
828,
/**/
827,
/**/