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:
liljencrantz 2007-09-24 00:55:55 +10:00
parent 0679a6351f
commit 737935ebe4

View file

@ -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'~':