]> granicus.if.org Git - vim/commitdiff
patch 8.1.0715: superfluous call to redraw_win_later() v8.1.0715
authorBram Moolenaar <Bram@vim.org>
Fri, 11 Jan 2019 10:55:16 +0000 (11:55 +0100)
committerBram Moolenaar <Bram@vim.org>
Fri, 11 Jan 2019 10:55:16 +0000 (11:55 +0100)
Problem:    Superfluous call to redraw_win_later().
Solution:   Remove the call.

src/move.c
src/version.c

index 119941ff465b043a10f1758bae3dfe6be111e2cd..493f1de518a6482b58f78070510e61a0d0aa0b5e 100644 (file)
@@ -137,9 +137,9 @@ redraw_for_cursorline(win_T *wp)
 #endif
                )
            && (wp->w_valid & VALID_CROW) == 0
-# ifdef FEAT_INS_EXPAND
+#ifdef FEAT_INS_EXPAND
            && !pum_visible()
-# endif
+#endif
            )
     {
        if (wp->w_p_rnu)
@@ -155,7 +155,6 @@ redraw_for_cursorline(win_T *wp)
                // the current window.
                redrawWinline(wp, wp->w_last_cursorline);
                redrawWinline(wp, wp->w_cursor.lnum);
-               redraw_win_later(wp, VALID);
            }
            else
                redraw_win_later(wp, SOME_VALID);
index cec708f33fab2a9592ae00427a287f0675443538..eb55daf0df162b14e66fe64ec4bf980728ee56ce 100644 (file)
@@ -799,6 +799,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    715,
 /**/
     714,
 /**/