changeset 15641:2c264fda0f59 v8.1.0828

patch 8.1.0828: still using FEAT_VIRTUALEDIT commit https://github.com/vim/vim/commit/6aba96dd5778b4201c9f5cb065d7669d3398e724 Author: Bram Moolenaar <Bram@vim.org> Date: Sat Jan 26 17:43:21 2019 +0100 patch 8.1.0828: still using FEAT_VIRTUALEDIT Problem: Still using FEAT_VIRTUALEDIT. Solution: Remove last use of FEAT_VIRTUALEDIT.
author Bram Moolenaar <Bram@vim.org>
date Sat, 26 Jan 2019 17:45:13 +0100
parents 7cfe57329284
children 35cfcded325d
files src/quickfix.c src/version.c
diffstat 2 files changed, 2 insertions(+), 4 deletions(-) [+]
line wrap: on
line diff
--- 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);
--- a/src/version.c
+++ b/src/version.c
@@ -784,6 +784,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    828,
+/**/
     827,
 /**/
     826,