aboutsummaryrefslogtreecommitdiff
path: root/src/ex_cmds.c
diff options
context:
space:
mode:
authorJohn Schmidt <john.schmidt.h@gmail.com>2014-03-31 17:19:54 +0200
committerThiago de Arruda <tpadilha84@gmail.com>2014-03-31 14:42:11 -0300
commit5d30654512f1e40479e32f2c02a59fa84bb9118f (patch)
tree0fa1ebaeff8a77e39957ae9b285e1dd4e671e23b /src/ex_cmds.c
parente02790cad4b1ede5b32a1d77cabe40dd088ba4c0 (diff)
downloadrneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.tar.gz
rneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.tar.bz2
rneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.zip
Rename ga_init2() to ga_init()
Diffstat (limited to 'src/ex_cmds.c')
-rw-r--r--src/ex_cmds.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/ex_cmds.c b/src/ex_cmds.c
index 85b91741aa..74335c3991 100644
--- a/src/ex_cmds.c
+++ b/src/ex_cmds.c
@@ -5409,7 +5409,7 @@ void ex_helptags(exarg_T *eap)
/* Go over all files in the directory to find out what languages are
* present. */
- ga_init2(&ga, 1, 10);
+ ga_init(&ga, 1, 10);
for (i = 0; i < filecount; ++i) {
len = (int)STRLEN(files[i]);
if (len > 4) {
@@ -5524,7 +5524,7 @@ helptags_one (
* If using the "++t" argument or generating tags for "$VIMRUNTIME/doc"
* add the "help-tags" tag.
*/
- ga_init2(&ga, (int)sizeof(char_u *), 100);
+ ga_init(&ga, (int)sizeof(char_u *), 100);
if (add_help_tags || fullpathcmp((char_u *)"$VIMRUNTIME/doc",
dir, FALSE) == FPC_SAME) {
if (ga_grow(&ga, 1) == FAIL)