mirror of
https://github.com/neovim/neovim.git
synced 2025-09-26 04:58:33 +00:00
Replaced most TRUE/FALSE macros in arabic, mbyte and spell. #645
This commit is contained in:

committed by
Justin M. Keyes

parent
ef34a0ab13
commit
a568e8b644
@@ -1534,17 +1534,17 @@ void get_arglist(garray_T *gap, char_u *str)
|
||||
|
||||
/*
|
||||
* Parse a list of arguments (file names), expand them and return in
|
||||
* "fnames[fcountp]". When "wig" is TRUE, removes files matching 'wildignore'.
|
||||
* "fnames[fcountp]". When "wig" is true, removes files matching 'wildignore'.
|
||||
* Return FAIL or OK.
|
||||
*/
|
||||
int get_arglist_exp(char_u *str, int *fcountp, char_u ***fnamesp, int wig)
|
||||
int get_arglist_exp(char_u *str, int *fcountp, char_u ***fnamesp, bool wig)
|
||||
{
|
||||
garray_T ga;
|
||||
int i;
|
||||
|
||||
get_arglist(&ga, str);
|
||||
|
||||
if (wig == TRUE)
|
||||
if (wig)
|
||||
i = expand_wildcards(ga.ga_len, (char_u **)ga.ga_data,
|
||||
fcountp, fnamesp, EW_FILE|EW_NOTFOUND);
|
||||
else
|
||||
|
Reference in New Issue
Block a user