aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/ex_cmds2.c
diff options
context:
space:
mode:
authorKlemen Košir <klemen913@gmail.com>2014-04-29 10:52:10 +0200
committerJustin M. Keyes <justinkz@gmail.com>2014-07-08 17:34:08 +0000
commita568e8b644a41b12388b7c7de4ca0fb8dc107f18 (patch)
treeceda29fd66a672eaa0cc68bcacc6c7ae66bbb44b /src/nvim/ex_cmds2.c
parentef34a0ab132bca94bd16d8518c3333cf81cbf2c6 (diff)
downloadrneovim-a568e8b644a41b12388b7c7de4ca0fb8dc107f18.tar.gz
rneovim-a568e8b644a41b12388b7c7de4ca0fb8dc107f18.tar.bz2
rneovim-a568e8b644a41b12388b7c7de4ca0fb8dc107f18.zip
Replaced most TRUE/FALSE macros in arabic, mbyte and spell. #645
Diffstat (limited to 'src/nvim/ex_cmds2.c')
-rw-r--r--src/nvim/ex_cmds2.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/nvim/ex_cmds2.c b/src/nvim/ex_cmds2.c
index 0b0026829f..7a34aba6b9 100644
--- a/src/nvim/ex_cmds2.c
+++ b/src/nvim/ex_cmds2.c
@@ -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