aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/main.c
diff options
context:
space:
mode:
authorBjörn Linse <bjorn.linse@gmail.com>2020-12-24 22:43:27 +0100
committerGitHub <noreply@github.com>2020-12-24 22:43:27 +0100
commit8c8cc35926f265bf4f048b83fd130bef3932851e (patch)
treec9ef81f318eace216546c0a6eabd6df5c71847d4 /src/nvim/main.c
parent88ae03bcdb8992fd91a3efdb61dbd7e2aa395eff (diff)
parent7add3ef996db3fd6ec8d03d2b8d879c58934b6e5 (diff)
downloadrneovim-8c8cc35926f265bf4f048b83fd130bef3932851e.tar.gz
rneovim-8c8cc35926f265bf4f048b83fd130bef3932851e.tar.bz2
rneovim-8c8cc35926f265bf4f048b83fd130bef3932851e.zip
Merge pull request #13595 from teto/fix-filler
de curwinify some functions
Diffstat (limited to 'src/nvim/main.c')
-rw-r--r--src/nvim/main.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/main.c b/src/nvim/main.c
index 41ae78e996..8bf745966e 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");
}