mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-26 12:53:13 +00:00
Escape % sign in escape function
darcs-hash:20051012112342-ac50b-97483f3794d0c1f6c2292e7e51c2c64b7b2483d7.gz
This commit is contained in:
parent
c8734fff83
commit
7e3f9c222c
1 changed files with 1 additions and 0 deletions
1
common.c
1
common.c
|
@ -927,6 +927,7 @@ wchar_t *escape( const wchar_t *in,
|
|||
case L':':
|
||||
case L'\'':
|
||||
case L'\"':
|
||||
case L'%':
|
||||
if( escape_all )
|
||||
*pos++ = L'\\';
|
||||
*pos++ = *in;
|
||||
|
|
Loading…
Reference in a new issue