mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Fix bug caused by new escap beutification code. Some strings containing a single quote where incorrectly escaped.
darcs-hash:20070923145555-75c98-1125e148af36cb1bbe2f2029c3f1d118308721a6.gz
This commit is contained in:
parent
0679a6351f
commit
737935ebe4
1 changed files with 1 additions and 1 deletions
2
common.c
2
common.c
|
@ -782,6 +782,7 @@ wchar_t *escape( const wchar_t *in_orig,
|
||||||
break;
|
break;
|
||||||
|
|
||||||
case L'\\':
|
case L'\\':
|
||||||
|
case L'\'':
|
||||||
{
|
{
|
||||||
need_escape=need_complex_escape=1;
|
need_escape=need_complex_escape=1;
|
||||||
if( escape_all )
|
if( escape_all )
|
||||||
|
@ -807,7 +808,6 @@ wchar_t *escape( const wchar_t *in_orig,
|
||||||
case L'*':
|
case L'*':
|
||||||
case L'|':
|
case L'|':
|
||||||
case L';':
|
case L';':
|
||||||
case L'\'':
|
|
||||||
case L'"':
|
case L'"':
|
||||||
case L'%':
|
case L'%':
|
||||||
case L'~':
|
case L'~':
|
||||||
|
|
Loading…
Reference in a new issue