commit | 2932359000b2f918d5fade79ea4d124d5943cd07 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Jul 24 22:04:11 2016 +0200 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Jul 24 22:04:11 2016 +0200 |
tree | 1ca4fa98569a4d20ce066c7d6254404bcf431b47 | |
parent | 6835dc61aebca2b602d85a9d63c449ace58683b4 [diff] [blame] |
patch 7.4.2101 Problem: Looping over windows, buffers and tab pages is inconsistant. Solution: Use FOR_ALL_ macros everywhere. (Yegappan Lakshmanan)
diff --git a/src/edit.c b/src/edit.c index 4bce8a3..a60d922 100644 --- a/src/edit.c +++ b/src/edit.c
@@ -4239,7 +4239,7 @@ if (!compl_started) { - for (ins_buf = firstbuf; ins_buf != NULL; ins_buf = ins_buf->b_next) + FOR_ALL_BUFFERS(ins_buf) ins_buf->b_scanned = 0; found_all = FALSE; ins_buf = curbuf;