diff options
author | Matthieu Coudron <mcoudron@hotmail.com> | 2020-12-23 16:53:35 +0100 |
---|---|---|
committer | Matthieu Coudron <mcoudron@hotmail.com> | 2020-12-23 16:53:35 +0100 |
commit | 45166313ccf15dac5dd45926e77c58240de79413 (patch) | |
tree | ccb4aadd0b320f1fc17e72d8be51933bba72dc81 /src/nvim/main.c | |
parent | 4d9520ec86aaea607f0dc7f1630a82a1cdf9515a (diff) | |
download | rneovim-45166313ccf15dac5dd45926e77c58240de79413.tar.gz rneovim-45166313ccf15dac5dd45926e77c58240de79413.tar.bz2 rneovim-45166313ccf15dac5dd45926e77c58240de79413.zip |
refactor: de-curwin-ify update_topline/curs_columns
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r-- | src/nvim/main.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c index fd8264583b..eb3360d069 100644 --- a/src/nvim/main.c +++ b/src/nvim/main.c @@ -539,7 +539,7 @@ int main(int argc, char **argv) // When a startup script or session file setup for diff'ing and // scrollbind, sync the scrollbind now. if (curwin->w_p_diff && curwin->w_p_scb) { - update_topline(); + update_topline(curwin); check_scrollbind((linenr_T)0, 0L); TIME_MSG("diff scrollbinding"); } |