diff options
Diffstat (limited to 'src/match.c')
-rw-r--r-- | src/match.c | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/match.c b/src/match.c index e58ad013c..335b06011 100644 --- a/src/match.c +++ b/src/match.c @@ -39,7 +39,7 @@ match_add( matchitem_T *m; int hlg_id; regprog_T *regprog = NULL; - int rtype = SOME_VALID; + int rtype = UPD_SOME_VALID; if (*grp == NUL || (pat != NULL && *pat == NUL)) return -1; @@ -192,7 +192,7 @@ match_add( } m->pos.toplnum = toplnum; m->pos.botlnum = botlnum; - rtype = VALID; + rtype = UPD_VALID; } } @@ -228,7 +228,7 @@ match_delete(win_T *wp, int id, int perr) { matchitem_T *cur = wp->w_match_head; matchitem_T *prev = cur; - int rtype = SOME_VALID; + int rtype = UPD_SOME_VALID; if (id < 1) { @@ -269,7 +269,7 @@ match_delete(win_T *wp, int id, int perr) wp->w_buffer->b_mod_bot = cur->pos.botlnum; wp->w_buffer->b_mod_xlines = 0; } - rtype = VALID; + rtype = UPD_VALID; } vim_free(cur); redraw_win_later(wp, rtype); @@ -292,7 +292,7 @@ clear_matches(win_T *wp) vim_free(wp->w_match_head); wp->w_match_head = m; } - redraw_win_later(wp, SOME_VALID); + redraw_win_later(wp, UPD_SOME_VALID); } /* |