aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ops.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2014-10-03 13:44:50 -0400
committerJustin M. Keyes <justinkz@gmail.com>2014-10-03 13:44:50 -0400
commit5e65e3eae079d4765124ce791ce79649444ca403 (patch)
tree113af0483ab523a793ad1ac96426caabcc89210e /src/nvim/ops.c
parent60e5d8d1ccd5a07038138f18752620edebeb8a3d (diff)
parent7aca07b0a74f882e59d6462597cb5d981ed2cc1f (diff)
downloadrneovim-5e65e3eae079d4765124ce791ce79649444ca403.tar.gz
rneovim-5e65e3eae079d4765124ce791ce79649444ca403.tar.bz2
rneovim-5e65e3eae079d4765124ce791ce79649444ca403.zip
Merge pull request #1208 from war1025/dev/remove_for_all_windows
Remove FOR_ALL_WINDOWS and replace with FOR_ALL_WINDOWS_IN_TAB(curtab)
Diffstat (limited to 'src/nvim/ops.c')
-rw-r--r--src/nvim/ops.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/ops.c b/src/nvim/ops.c
index 2067d863eb..ed2a82d55c 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. */