summaryrefslogtreecommitdiffstats
path: root/src/ex_cmds2.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2013-03-19 16:49:16 +0100
committerBram Moolenaar <Bram@vim.org>2013-03-19 16:49:16 +0100
commit71afbfe6cd697de30a9e0d57e5a6434cf4bb0f13 (patch)
tree981f8a151ec2a29321c8ef579101f82403e6e38b /src/ex_cmds2.c
parentdb333a5b8d0c72b7342d6d65ad2895a19a1c29d2 (diff)
updated for version 7.3.872v7.3.872
Problem: On some systems case of file names is always ignored, on others never. Solution: Add the 'fileignorecase' option to control this at runtime. Implies 'wildignorecase'.
Diffstat (limited to 'src/ex_cmds2.c')
-rw-r--r--src/ex_cmds2.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/ex_cmds2.c b/src/ex_cmds2.c
index de190e78c3..11446efd41 100644
--- a/src/ex_cmds2.c
+++ b/src/ex_cmds2.c
@@ -1926,11 +1926,7 @@ do_arglist(str, what, after)
* Delete the items: use each item as a regexp and find a match in the
* argument list.
*/
-#ifdef CASE_INSENSITIVE_FILENAME
- regmatch.rm_ic = TRUE; /* Always ignore case */
-#else
- regmatch.rm_ic = FALSE; /* Never ignore case */
-#endif
+ regmatch.rm_ic = p_fic; /* ignore case when 'fileignorecase' is set */
for (i = 0; i < new_ga.ga_len && !got_int; ++i)
{
p = ((char_u **)new_ga.ga_data)[i];