Mercurial > vim
comparison src/move.c @ 15400:ac5542aadd9c v8.1.0708
patch 8.1.0708: third argument for redrawWinline() is always FALSE
commit https://github.com/vim/vim/commit/ae12f4bad306a1a3a2d54ff6ed76df9b11d19469
Author: Bram Moolenaar <Bram@vim.org>
Date: Wed Jan 9 20:51:04 2019 +0100
patch 8.1.0708: third argument for redrawWinline() is always FALSE
Problem: Third argument for redrawWinline() is always FALSE.
Solution: Drop the argument. (neovim https://github.com/vim/vim/issues/9479)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 09 Jan 2019 21:00:07 +0100 |
parents | 7b2dcca9e0c1 |
children | d7432dcb6b7c |
comparison
equal
deleted
inserted
replaced
15399:a715450117cf | 15400:ac5542aadd9c |
---|---|
151 if (wp->w_redr_type <= VALID && wp->w_last_cursorline != 0) | 151 if (wp->w_redr_type <= VALID && wp->w_last_cursorline != 0) |
152 { | 152 { |
153 // "w_last_cursorline" may be outdated, worst case we redraw | 153 // "w_last_cursorline" may be outdated, worst case we redraw |
154 // too much. This is optimized for moving the cursor around in | 154 // too much. This is optimized for moving the cursor around in |
155 // the current window. | 155 // the current window. |
156 redrawWinline(wp, wp->w_last_cursorline, FALSE); | 156 redrawWinline(wp, wp->w_last_cursorline); |
157 redrawWinline(wp, wp->w_cursor.lnum, FALSE); | 157 redrawWinline(wp, wp->w_cursor.lnum); |
158 redraw_win_later(wp, VALID); | 158 redraw_win_later(wp, VALID); |
159 } | 159 } |
160 else | 160 else |
161 redraw_win_later(wp, SOME_VALID); | 161 redraw_win_later(wp, SOME_VALID); |
162 wp->w_last_cursorline = wp->w_cursor.lnum; | 162 wp->w_last_cursorline = wp->w_cursor.lnum; |