Skip to content

Commit 6aba96d

Browse files
committed
patch 8.1.0828: still using FEAT_VIRTUALEDIT
Problem: Still using FEAT_VIRTUALEDIT. Solution: Remove last use of FEAT_VIRTUALEDIT.
1 parent 2a953fc commit 6aba96d

2 files changed

Lines changed: 2 additions & 4 deletions

File tree

src/quickfix.c

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3064,9 +3064,7 @@ qf_jump_goto_line(
30643064
if (qf_col > 0)
30653065
{
30663066
curwin->w_cursor.col = qf_col - 1;
3067-
#ifdef FEAT_VIRTUALEDIT
30683067
curwin->w_cursor.coladd = 0;
3069-
#endif
30703068
if (qf_viscol == TRUE)
30713069
{
30723070
// Check each character from the beginning of the error
@@ -4108,9 +4106,7 @@ qf_win_goto(win_T *win, linenr_T lnum)
41084106
curbuf = win->w_buffer;
41094107
curwin->w_cursor.lnum = lnum;
41104108
curwin->w_cursor.col = 0;
4111-
#ifdef FEAT_VIRTUALEDIT
41124109
curwin->w_cursor.coladd = 0;
4113-
#endif
41144110
curwin->w_curswant = 0;
41154111
update_topline(); // scroll to show the line
41164112
redraw_later(VALID);

src/version.c

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -783,6 +783,8 @@ static char *(features[]) =
783783

784784
static int included_patches[] =
785785
{ /* Add new patch number below this line */
786+
/**/
787+
828,
786788
/**/
787789
827,
788790
/**/

0 commit comments

Comments
 (0)