summaryrefslogtreecommitdiff
path: root/src/os_unix.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2005-04-15 21:00:38 +0000
committerBram Moolenaar <Bram@vim.org>2005-04-15 21:00:38 +0000
commit402d2fea7025356c7abcb891017a1b7ddf99cbbf (patch)
tree83c5973b6316912331d4a4c070996d7888097e5c /src/os_unix.c
parent4499d2ee58db42e4ec59bb2c2dbb5eeca2313e8b (diff)
downloadvim-git-402d2fea7025356c7abcb891017a1b7ddf99cbbf.tar.gz
updated for version 7.0066
Diffstat (limited to 'src/os_unix.c')
-rw-r--r--src/os_unix.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/os_unix.c b/src/os_unix.c
index afe9bfdc0..80735b69a 100644
--- a/src/os_unix.c
+++ b/src/os_unix.c
@@ -5177,6 +5177,8 @@ mch_expand_wildcards(num_pat, pat, num_file, file, flags)
else if (!intick && vim_strchr((char_u *)" '",
pat[i][j]) != NULL)
{
+ /* Put quotes around special characters, but not when
+ * inside ``. */
*p++ = '"';
while (pat[i][j] != NUL
&& vim_strchr((char_u *)" '", pat[i][j]) != NULL)