Rename ga_init2() to ga_init()

This commit is contained in:
John Schmidt
2014-03-31 17:19:54 +02:00
committed by Thiago de Arruda
parent e02790cad4
commit 5d30654512
26 changed files with 79 additions and 79 deletions

View File

@@ -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)