0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.0708: third argument for redrawWinline() is always FALSE

Problem:    Third argument for redrawWinline() is always FALSE.
Solution:   Drop the argument. (neovim #9479)
This commit is contained in:
Bram Moolenaar
2019-01-09 20:51:04 +01:00
parent 663bc89bbb
commit ae12f4bad3
5 changed files with 9 additions and 22 deletions

View File

@@ -153,8 +153,8 @@ redraw_for_cursorline(win_T *wp)
// "w_last_cursorline" may be outdated, worst case we redraw
// too much. This is optimized for moving the cursor around in
// the current window.
redrawWinline(wp, wp->w_last_cursorline, FALSE);
redrawWinline(wp, wp->w_cursor.lnum, FALSE);
redrawWinline(wp, wp->w_last_cursorline);
redrawWinline(wp, wp->w_cursor.lnum);
redraw_win_later(wp, VALID);
}
else