diff src/strings.c @ 25715:454cbc872368 v8.2.3393

patch 8.2.3393: escaping for fish shell is skipping some characters Commit: https://github.com/vim/vim/commit/6631597452d4644f485a09e4036d117e5f91de70 Author: Bram Moolenaar <Bram@vim.org> Date: Wed Sep 1 14:31:51 2021 +0200 patch 8.2.3393: escaping for fish shell is skipping some characters Problem: Escaping for fish shell is skipping some characters. Solution: Escape character after backslash if needed. (Jason Cox, closes #8827)
author Bram Moolenaar <Bram@vim.org>
date Wed, 01 Sep 2021 14:45:04 +0200
parents e9687a2f6fb3
children 2093cc976da8
line wrap: on
line diff
--- a/src/strings.c
+++ b/src/strings.c
@@ -281,6 +281,7 @@ vim_strsave_shellescape(char_u *string, 
 	    {
 		*d++ = '\\';
 		*d++ = *p++;
+		continue;
 	    }
 
 	    MB_COPY_CHAR(p, d);