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

@@ -3876,7 +3876,7 @@ void win_size_save(garray_T *gap)
{
win_T *wp;
ga_init2(gap, (int)sizeof(int), 1);
ga_init(gap, (int)sizeof(int), 1);
if (ga_grow(gap, win_count() * 2) == OK)
for (wp = firstwin; wp != NULL; wp = wp->w_next) {
((int *)gap->ga_data)[gap->ga_len++] =