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/path.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/path.c')
-rw-r--r-- | src/path.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/path.c b/src/path.c index eceb5ca64d..0a0907df60 100644 --- a/src/path.c +++ b/src/path.c @@ -803,7 +803,7 @@ static void uniquefy_paths(garray_T *gap, char_u *pattern) char_u *short_name; ga_remove_duplicate_strings(gap); - ga_init2(&path_ga, (int)sizeof(char_u *), 1); + ga_init(&path_ga, (int)sizeof(char_u *), 1); /* * We need to prepend a '*' at the beginning of file_pattern so that the @@ -957,7 +957,7 @@ expand_in_path ( return 0; os_dirname(curdir, MAXPATHL); - ga_init2(&path_ga, (int)sizeof(char_u *), 1); + ga_init(&path_ga, (int)sizeof(char_u *), 1); expand_path_option(curdir, &path_ga); vim_free(curdir); if (path_ga.ga_len == 0) @@ -1093,7 +1093,7 @@ gen_expand_wildcards ( /* * The matching file names are stored in a growarray. Init it empty. */ - ga_init2(&ga, (int)sizeof(char_u *), 30); + ga_init(&ga, (int)sizeof(char_u *), 30); for (i = 0; i < num_pat; ++i) { add_pat = -1; |