mirror of
https://github.com/vim/vim.git
synced 2025-09-25 03:54:15 -04:00
patch 8.1.0715: superfluous call to redraw_win_later()
Problem: Superfluous call to redraw_win_later(). Solution: Remove the call.
This commit is contained in:
@@ -137,9 +137,9 @@ redraw_for_cursorline(win_T *wp)
|
|||||||
#endif
|
#endif
|
||||||
)
|
)
|
||||||
&& (wp->w_valid & VALID_CROW) == 0
|
&& (wp->w_valid & VALID_CROW) == 0
|
||||||
# ifdef FEAT_INS_EXPAND
|
#ifdef FEAT_INS_EXPAND
|
||||||
&& !pum_visible()
|
&& !pum_visible()
|
||||||
# endif
|
#endif
|
||||||
)
|
)
|
||||||
{
|
{
|
||||||
if (wp->w_p_rnu)
|
if (wp->w_p_rnu)
|
||||||
@@ -155,7 +155,6 @@ redraw_for_cursorline(win_T *wp)
|
|||||||
// the current window.
|
// the current window.
|
||||||
redrawWinline(wp, wp->w_last_cursorline);
|
redrawWinline(wp, wp->w_last_cursorline);
|
||||||
redrawWinline(wp, wp->w_cursor.lnum);
|
redrawWinline(wp, wp->w_cursor.lnum);
|
||||||
redraw_win_later(wp, VALID);
|
|
||||||
}
|
}
|
||||||
else
|
else
|
||||||
redraw_win_later(wp, SOME_VALID);
|
redraw_win_later(wp, SOME_VALID);
|
||||||
|
@@ -799,6 +799,8 @@ static char *(features[]) =
|
|||||||
|
|
||||||
static int included_patches[] =
|
static int included_patches[] =
|
||||||
{ /* Add new patch number below this line */
|
{ /* Add new patch number below this line */
|
||||||
|
/**/
|
||||||
|
715,
|
||||||
/**/
|
/**/
|
||||||
714,
|
714,
|
||||||
/**/
|
/**/
|
||||||
|
Reference in New Issue
Block a user