diff options
author | Bram Moolenaar <Bram@vim.org> | 2005-07-01 22:41:52 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2005-07-01 22:41:52 +0000 |
commit | 1f8a5f0eac149a206b6b281c14325b6e8a78538a (patch) | |
tree | 9dbe9e3d2c78977f7aaa351ff79b760a110a4882 /src | |
parent | ba4128faa39278ac928d2178ad31567e2008ea8d (diff) |
updated for version 7.0099v7.0099
Diffstat (limited to 'src')
-rw-r--r-- | src/edit.c | 4 | ||||
-rw-r--r-- | src/proto/spell.pro | 2 | ||||
-rw-r--r-- | src/syntax.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/src/edit.c b/src/edit.c index c91170215d..25d4b584c2 100644 --- a/src/edit.c +++ b/src/edit.c @@ -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 diff --git a/src/proto/spell.pro b/src/proto/spell.pro index 91483b0225..91fcf72932 100644 --- a/src/proto/spell.pro +++ b/src/proto/spell.pro @@ -8,7 +8,7 @@ void spell_reload __ARGS((void)); void put_bytes __ARGS((FILE *fd, long_u nr, int len)); void ex_mkspell __ARGS((exarg_T *eap)); void ex_spell __ARGS((exarg_T *eap)); -void spell_add_word __ARGS((char_u *word, int len, int bad)); +void spell_add_word __ARGS((char_u *word, int len, int bad, int temp)); void init_spell_chartab __ARGS((void)); int spell_check_sps __ARGS((void)); void spell_suggest __ARGS((void)); diff --git a/src/syntax.c b/src/syntax.c index 313f6002de..7a94df71c5 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1182,7 +1182,7 @@ syn_stack_apply_changes(buf) prev = NULL; for (p = buf->b_sst_first; p != NULL; ) { - if (p->sst_lnum + syn_buf->b_syn_sync_linebreaks > buf->b_mod_top) + if (p->sst_lnum + buf->b_syn_sync_linebreaks > buf->b_mod_top) { n = p->sst_lnum + buf->b_mod_xlines; if (n <= buf->b_mod_bot) |