diff options
Diffstat (limited to 'src/move.c')
-rw-r--r-- | src/move.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/move.c b/src/move.c index 1a00a4d16e..136263f22a 100644 --- a/src/move.c +++ b/src/move.c @@ -2820,7 +2820,7 @@ 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(curwin) { curbuf = curwin->w_buffer; /* skip original window and windows with 'noscrollbind' */ |