aboutsummaryrefslogtreecommitdiff
path: root/src/option.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/option.c
parente02790cad4b1ede5b32a1d77cabe40dd088ba4c0 (diff)
downloadrneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.tar.gz
rneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.tar.bz2
rneovim-5d30654512f1e40479e32f2c02a59fa84bb9118f.zip
Rename ga_init2() to ga_init()
Diffstat (limited to 'src/option.c')
-rw-r--r--src/option.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/option.c b/src/option.c
index a2387f6df9..9195ceed02 100644
--- a/src/option.c
+++ b/src/option.c
@@ -1990,7 +1990,7 @@ void set_init_1(void)
garray_T ga;
int mustfree;
- ga_init2(&ga, 1, 100);
+ ga_init(&ga, 1, 100);
for (n = 0; n < (long)(sizeof(names) / sizeof(char *)); ++n) {
mustfree = FALSE;
# ifdef UNIX
@@ -7711,7 +7711,7 @@ static void langmap_init(void)
for (i = 0; i < 256; i++)
langmap_mapchar[i] = i; /* we init with a one-to-one map */
- ga_init2(&langmap_mapga, sizeof(langmap_entry_T), 8);
+ ga_init(&langmap_mapga, sizeof(langmap_entry_T), 8);
}
/*