0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

updated for version 7.0099

This commit is contained in:
Bram Moolenaar
2005-07-01 22:41:52 +00:00
parent ba4128faa3
commit 1f8a5f0eac
5 changed files with 51 additions and 39 deletions

View File

@@ -2632,7 +2632,7 @@ ins_compl_next_buf(buf, flag)
#ifdef FEAT_WINDOWS
if (buf == curbuf) /* first call for this flag/expansion */
wp = curwin;
while ((wp = wp->w_next != NULL ? wp->w_next : firstwin) != curwin
while ((wp = (wp->w_next != NULL ? wp->w_next : firstwin)) != curwin
&& wp->w_buffer->b_scanned)
;
buf = wp->w_buffer;
@@ -2644,7 +2644,7 @@ ins_compl_next_buf(buf, flag)
/* 'b' (just loaded buffers), 'u' (just non-loaded buffers) or 'U'
* (unlisted buffers)
* When completing whole lines skip unloaded buffers. */
while ((buf = buf->b_next != NULL ? buf->b_next : firstbuf) != curbuf
while ((buf = (buf->b_next != NULL ? buf->b_next : firstbuf)) != curbuf
&& ((flag == 'U'
? buf->b_p_bl
: (!buf->b_p_bl