FOR_ALL_BUFFERS use locally declared buffer pointer

This commit is contained in:
Wayne Rowcliffe
2014-08-10 22:56:58 -05:00
parent 8cf45786b1
commit 888a31ba45
17 changed files with 63 additions and 88 deletions

View File

@@ -3434,8 +3434,8 @@ static int ins_compl_get_exp(pos_T *ini)
int set_match_pos;
if (!compl_started) {
FOR_ALL_BUFFERS(ins_buf) {
ins_buf->b_scanned = 0;
FOR_ALL_BUFFERS(buf) {
buf->b_scanned = 0;
}
found_all = FALSE;
ins_buf = curbuf;