Escape the ~ character

darcs-hash:20051209121954-ac50b-347571c227de795661694f31ff4ab9eafdda0e39.gz
This commit is contained in:
axel 2005-12-09 22:19:54 +10:00
parent 780ecc46fc
commit f05da41159

View file

@ -933,8 +933,9 @@ wchar_t *escape( const wchar_t *in,
case L';':
case L':':
case L'\'':
case L'\"':
case L'"':
case L'%':
case L'~':
if( escape_all )
*pos++ = L'\\';
*pos++ = *in;