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/regexp.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/regexp.c')
-rw-r--r-- | src/regexp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/regexp.c b/src/regexp.c index 080b2d8991..bfd7cda9fe 100644 --- a/src/regexp.c +++ b/src/regexp.c @@ -3411,13 +3411,13 @@ proftime_T *tm; /* timeout limit or NULL */ if (regstack.ga_data == NULL) { /* Use an item size of 1 byte, since we push different things * onto the regstack. */ - ga_init2(®stack, 1, REGSTACK_INITIAL); + ga_init(®stack, 1, REGSTACK_INITIAL); ga_grow(®stack, REGSTACK_INITIAL); regstack.ga_growsize = REGSTACK_INITIAL * 8; } if (backpos.ga_data == NULL) { - ga_init2(&backpos, sizeof(backpos_T), BACKPOS_INITIAL); + ga_init(&backpos, sizeof(backpos_T), BACKPOS_INITIAL); ga_grow(&backpos, BACKPOS_INITIAL); backpos.ga_growsize = BACKPOS_INITIAL * 8; } |