From 737935ebe4a88244462025d31ffd24a05f2e3878 Mon Sep 17 00:00:00 2001 From: liljencrantz Date: Mon, 24 Sep 2007 00:55:55 +1000 Subject: [PATCH] Fix bug caused by new escap beutification code. Some strings containing a single quote where incorrectly escaped. darcs-hash:20070923145555-75c98-1125e148af36cb1bbe2f2029c3f1d118308721a6.gz --- common.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common.c b/common.c index db0d7abdb..94d02a2ac 100644 --- a/common.c +++ b/common.c @@ -782,6 +782,7 @@ wchar_t *escape( const wchar_t *in_orig, break; case L'\\': + case L'\'': { need_escape=need_complex_escape=1; 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'~':