From 820c81e638768994f4e51fdb87eadf31664048ff Mon Sep 17 00:00:00 2001 From: Björn Linse Date: Sun, 23 Dec 2018 14:12:56 +0100 Subject: multigrid: various cleanup (types, unused parameters) Handle the rare case of full highlight table properly --- src/nvim/move.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/nvim/move.c') diff --git a/src/nvim/move.c b/src/nvim/move.c index ebbcd1b853..b8225cc64c 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -151,7 +151,7 @@ void update_topline(void) long save_so = p_so; // need to have w_grid.Rows/Columns updated - win_grid_alloc(curwin, false); + win_grid_alloc(curwin); // If there is no valid screen and when the window height is zero just use // the cursor line. @@ -529,7 +529,7 @@ int cursor_valid(void) */ void validate_cursor(void) { - win_grid_alloc(curwin, false); // we need to have w_grid.Rows/Columns updated + win_grid_alloc(curwin); // we need to have w_grid.Rows/Columns updated check_cursor_moved(curwin); if ((curwin->w_valid & (VALID_WCOL|VALID_WROW)) != (VALID_WCOL|VALID_WROW)) curs_columns(true); -- cgit