Fix incorrect escape character in unescape function

darcs-hash:20070908191855-ac50b-e98e433dc23b6357c3a23d935de4bcb55efb9da9.gz
This commit is contained in:
axel 2007-09-09 05:18:55 +10:00
parent 38ed4c0f9b
commit 3fc1ba0f0e

View File

@ -996,7 +996,7 @@ wchar_t *unescape( const wchar_t * orig, int flags )
/* /*
\x1b means escape \x1b means escape
*/ */
case L'\x1b': case L'e':
{ {
in[out_pos]=L'\x1b'; in[out_pos]=L'\x1b';
break; break;
@ -1039,7 +1039,7 @@ wchar_t *unescape( const wchar_t * orig, int flags )
} }
/* /*
\v means vetrical tab \v means vertical tab
*/ */
case L'v': case L'v':
{ {