commit | 26df092843de91ea0c5c5c130d0d0695d2d81c07 | [log] [tgz] |
---|---|---|
author | Bram Moolenaar <Bram@vim.org> | Sun Feb 23 23:39:13 2014 +0100 |
committer | Bram Moolenaar <Bram@vim.org> | Sun Feb 23 23:39:13 2014 +0100 |
tree | a049c605f9dee06d777ad030b291ddf782cfcdb9 | |
parent | 581966e8323c2bab6f9e54729708dc46de8f9fc5 [diff] [blame] |
updated for version 7.4.191 Problem: Escaping a file name for shell commands can't be done without a function. Solution: Add the :S file name modifier.
diff --git a/src/normal.c b/src/normal.c index 73505a6..b8c6fc2 100644 --- a/src/normal.c +++ b/src/normal.c
@@ -5790,7 +5790,7 @@ { /* Escape the argument properly for a shell command */ ptr = vim_strnsave(ptr, n); - p = vim_strsave_shellescape(ptr, TRUE); + p = vim_strsave_shellescape(ptr, TRUE, TRUE); vim_free(ptr); if (p == NULL) {