diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-01-11 11:55:16 +0100 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-01-11 11:55:16 +0100 |
commit | 6f7e555f7440df148350468ad8bc6d559d676d7c (patch) | |
tree | 7505ecddae9b2b3f8355245f6af757e64b451bbd | |
parent | c951522943fc7c1eedaa707d2fa06da5ca17545a (diff) |
patch 8.1.0715: superfluous call to redraw_win_later()v8.1.0715
Problem: Superfluous call to redraw_win_later().
Solution: Remove the call.
-rw-r--r-- | src/move.c | 5 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 4 insertions, 3 deletions
diff --git a/src/move.c b/src/move.c index 119941ff46..493f1de518 100644 --- a/src/move.c +++ b/src/move.c @@ -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); diff --git a/src/version.c b/src/version.c index cec708f33f..eb55daf0df 100644 --- a/src/version.c +++ b/src/version.c @@ -800,6 +800,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 715, +/**/ 714, /**/ 713, |