aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar axel <axel@liljencrantz.se>2005-10-12 21:23:42 +1000
committerGravatar axel <axel@liljencrantz.se>2005-10-12 21:23:42 +1000
commit7e3f9c222c3c1a45abf7a89d619aa2b487a65c1e (patch)
tree96639530f4b46ca747fff1aafc0d7b77237601e2
parentc8734fff8359de73b624f92eb35f20b6a458225e (diff)
Escape % sign in escape function
darcs-hash:20051012112342-ac50b-97483f3794d0c1f6c2292e7e51c2c64b7b2483d7.gz
-rw-r--r--common.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/common.c b/common.c
index 579b94b7..82e67db4 100644
--- a/common.c
+++ b/common.c
@@ -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;