diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2018-12-23 14:12:56 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2018-12-31 16:24:07 +0100 |
commit | 820c81e638768994f4e51fdb87eadf31664048ff (patch) | |
tree | 7f75b2710c29318c9e4022b0f248efbd82077f49 /src/nvim/move.c | |
parent | 44b8e58f33f82ca1a7c5dbb879a688e317026040 (diff) | |
download | rneovim-820c81e638768994f4e51fdb87eadf31664048ff.tar.gz rneovim-820c81e638768994f4e51fdb87eadf31664048ff.tar.bz2 rneovim-820c81e638768994f4e51fdb87eadf31664048ff.zip |
multigrid: various cleanup (types, unused parameters)
Handle the rare case of full highlight table properly
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r-- | src/nvim/move.c | 4 |
1 files changed, 2 insertions, 2 deletions
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); |