diff options
author | John Schmidt <john.schmidt.h@gmail.com> | 2014-03-31 17:19:54 +0200 |
---|---|---|
committer | Thiago de Arruda <tpadilha84@gmail.com> | 2014-03-31 14:42:11 -0300 |
commit | 5d30654512f1e40479e32f2c02a59fa84bb9118f (patch) | |
tree | 0fa1ebaeff8a77e39957ae9b285e1dd4e671e23b /src/syntax.c | |
parent | e02790cad4b1ede5b32a1d77cabe40dd088ba4c0 (diff) | |
download | rneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.tar.gz rneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.tar.bz2 rneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.zip |
Rename ga_init2() to ga_init()
Diffstat (limited to 'src/syntax.c')
-rw-r--r-- | src/syntax.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/syntax.c b/src/syntax.c index d58fdbd289..23d893f9e6 100644 --- a/src/syntax.c +++ b/src/syntax.c @@ -1386,7 +1386,7 @@ static synstate_T *store_current_state(void) if (current_state.ga_len > SST_FIX_STATES) { /* Need to clear it, might be something remaining from when the * length was less than SST_FIX_STATES. */ - ga_init2(&sp->sst_union.sst_ga, (int)sizeof(bufstate_T), 1); + ga_init(&sp->sst_union.sst_ga, (int)sizeof(bufstate_T), 1); if (ga_grow(&sp->sst_union.sst_ga, current_state.ga_len) == FAIL) sp->sst_stacksize = 0; else @@ -1776,7 +1776,7 @@ syn_current_attr ( /* Init the list of zero-width matches with a nextlist. This is used to * avoid matching the same item in the same position twice. */ - ga_init2(&zero_width_next_ga, (int)sizeof(int), 10); + ga_init(&zero_width_next_ga, (int)sizeof(int), 10); /* * Repeat matching keywords and patterns, to find contained items at the @@ -5861,7 +5861,7 @@ static void syntime_report(void) return; } - ga_init2(&ga, sizeof(time_entry_T), 50); + ga_init(&ga, sizeof(time_entry_T), 50); profile_zero(&total_total); for (idx = 0; idx < curwin->w_s->b_syn_patterns.ga_len; ++idx) { spp = &(SYN_ITEMS(curwin->w_s)[idx]); |