]> granicus.if.org Git - vim/commitdiff
patch 8.1.0828: still using FEAT_VIRTUALEDIT v8.1.0828
authorBram Moolenaar <Bram@vim.org>
Sat, 26 Jan 2019 16:43:21 +0000 (17:43 +0100)
committerBram Moolenaar <Bram@vim.org>
Sat, 26 Jan 2019 16:43:21 +0000 (17:43 +0100)
Problem:    Still using FEAT_VIRTUALEDIT.
Solution:   Remove last use of FEAT_VIRTUALEDIT.

src/quickfix.c
src/version.c

index 8b6c223c3c482f20497518fd9bf69950225a7977..e292819f2ec0d59906ab67386503b013814271fa 100644 (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);
index 39a4f8f844861395a3fdf2386a4455097d11de08..9fa0ba4558f3962b57edb219bc74a3856b293bfc 100644 (file)
@@ -783,6 +783,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    828,
 /**/
     827,
 /**/