mirror of
https://github.com/vim/vim.git
synced 2025-07-26 11:04:33 -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:
parent
c951522943
commit
6f7e555f74
@ -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,
|
||||||
/**/
|
/**/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user