mirror of
https://github.com/neovim/neovim.git
synced 2025-09-16 16:28:17 +00:00
Move remove_duplicates to garray.c
This commit is contained in:

committed by
Thiago de Arruda

parent
f5154d7451
commit
44e40b02cf
@@ -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;
|
||||
|
Reference in New Issue
Block a user