Escape % sign in escape function

darcs-hash:20051012112342-ac50b-97483f3794d0c1f6c2292e7e51c2c64b7b2483d7.gz
This commit is contained in:
axel 2005-10-12 21:23:42 +10:00
parent c8734fff83
commit 7e3f9c222c

View file

@ -927,6 +927,7 @@ wchar_t *escape( const wchar_t *in,
case L':':
case L'\'':
case L'\"':
case L'%':
if( escape_all )
*pos++ = L'\\';
*pos++ = *in;