diff options
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r-- | src/nvim/ops.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c index 9b98c84be4..ad37b2374f 100644 --- a/src/nvim/ops.c +++ b/src/nvim/ops.c @@ -3697,7 +3697,7 @@ op_format ( } if (oap->is_VIsual) { - FOR_ALL_WINDOWS(wp) { + FOR_ALL_WINDOWS_IN_TAB(wp, curtab) { if (wp->w_old_cursor_lnum != 0) { /* When lines have been inserted or deleted, adjust the end of * the Visual area to be redrawn. */ |