diff options
author | Justin M. Keyes <justinkz@gmail.com> | 2017-03-15 13:47:13 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2017-03-15 13:47:13 +0100 |
commit | 3b52e3c4c8784d60e44f3dc9a6bb7795af588931 (patch) | |
tree | 5df3024e99dd2a92042b054cfd39fa083d1a1fba /src/nvim/move.c | |
parent | 227859ea79f981e67d5835cfed0be2123522ab2e (diff) | |
parent | d72c177b2a743e147e0386f97b07030b49247390 (diff) | |
download | rneovim-3b52e3c4c8784d60e44f3dc9a6bb7795af588931.tar.gz rneovim-3b52e3c4c8784d60e44f3dc9a6bb7795af588931.tar.bz2 rneovim-3b52e3c4c8784d60e44f3dc9a6bb7795af588931.zip |
Merge #6252 from jamessan/vim-7.4.2069
vim-patch:7.4.2069,7.4.2101,7.4.2222,7.4.2223
Diffstat (limited to 'src/nvim/move.c')
-rw-r--r-- | src/nvim/move.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/nvim/move.c b/src/nvim/move.c index bb6c032db1..4c1b8a8411 100644 --- a/src/nvim/move.c +++ b/src/nvim/move.c @@ -2137,7 +2137,8 @@ void do_check_cursorbind(void) * loop through the cursorbound windows */ VIsual_select = VIsual_active = 0; - for (curwin = firstwin; curwin; curwin = curwin->w_next) { + FOR_ALL_WINDOWS_IN_TAB(wp, curtab) { + curwin = wp; curbuf = curwin->w_buffer; /* skip original window and windows with 'noscrollbind' */ if (curwin != old_curwin && curwin->w_p_crb) { |