diff options
author | Bram Moolenaar <Bram@vim.org> | 2006-06-22 17:47:10 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2006-06-22 17:47:10 +0000 |
commit | 654b5b5572dd3d48deb2bd16db2bc5f676f62f68 (patch) | |
tree | a6025613293ea659b7bcd055774b2428afb78d22 /src/os_unix.c | |
parent | 35c9291be7653367db4799e2367647258c554705 (diff) | |
download | vim-git-654b5b5572dd3d48deb2bd16db2bc5f676f62f68.tar.gz |
updated for version 7.0-028v7.0.028
Diffstat (limited to 'src/os_unix.c')
-rw-r--r-- | src/os_unix.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/os_unix.c b/src/os_unix.c index b3754689d..86f52c54e 100644 --- a/src/os_unix.c +++ b/src/os_unix.c @@ -4971,7 +4971,8 @@ mch_expand_wildcards(num_pat, pat, num_file, file, flags) if (((*file)[*num_file] = alloc(len + 2)) != NULL) { STRCPY((*file)[*num_file], p); - if (!after_pathsep((*file)[*num_file] + len)) + if (!after_pathsep((*file)[*num_file], + (*file)[*num_file] + len)) { (*file)[*num_file][len] = psepc; (*file)[*num_file][len + 1] = NUL; |