From: Bram Moolenaar Date: Sat, 26 Jan 2019 16:43:21 +0000 (+0100) Subject: patch 8.1.0828: still using FEAT_VIRTUALEDIT X-Git-Tag: v8.1.0828 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=6aba96dd5778b4201c9f5cb065d7669d3398e724;p=vim patch 8.1.0828: still using FEAT_VIRTUALEDIT Problem: Still using FEAT_VIRTUALEDIT. Solution: Remove last use of FEAT_VIRTUALEDIT. --- diff --git a/src/quickfix.c b/src/quickfix.c index 8b6c223c3..e292819f2 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); diff --git a/src/version.c b/src/version.c index 39a4f8f84..9fa0ba455 100644 --- a/src/version.c +++ b/src/version.c @@ -783,6 +783,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 828, /**/ 827, /**/