Move remove_duplicates to garray.c

This commit is contained in:
John Schmidt
2014-03-27 18:53:20 +01:00
committed by Thiago de Arruda
parent f5154d7451
commit 44e40b02cf
5 changed files with 28 additions and 26 deletions

View File

@@ -4207,7 +4207,7 @@ static int ExpandRTDir(char_u *pat, int *num_file, char_u ***file, char *dirname
/* Sort and remove duplicates which can happen when specifying multiple
* directories in dirnames. */
remove_duplicates(&ga);
ga_remove_duplicate_strings(&ga);
*file = ga.ga_data;
*num_file = ga.ga_len;