diff options
Diffstat (limited to 'src/normal.c')
-rw-r--r-- | src/normal.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/src/normal.c b/src/normal.c index 6aab7a9d3d..094bb9fe94 100644 --- a/src/normal.c +++ b/src/normal.c @@ -4493,12 +4493,8 @@ static void nv_ident(cmdarg_T *cap) if (cmdchar == 'K' && !kp_help) { /* 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) { - vim_free(buf); - return; - } newbuf = (char_u *)xrealloc(buf, STRLEN(buf) + STRLEN(p) + 1); buf = newbuf; STRCAT(buf, p); |