diff options
author | axel <axel@liljencrantz.se> | 2006-05-10 02:55:01 +1000 |
---|---|---|
committer | axel <axel@liljencrantz.se> | 2006-05-10 02:55:01 +1000 |
commit | b110a0ae211e0febe1efc8f6d79f4dc993dc04e0 (patch) | |
tree | 2280b4c80a1ac64ea872f6bb7046cc433bd6e45e | |
parent | 48d9c38d1e976b4775e41166a803cb8a082059b2 (diff) |
Allow backslash escape fur null byte
darcs-hash:20060509165501-ac50b-3a69a7ed0b96d5be7860aa997b7c77e37a6b1dc7.gz
-rw-r--r-- | common.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -890,7 +890,7 @@ wchar_t *unescape( const wchar_t * orig, int unescape_special ) res=(res*base)|d; } - if( (res > 0) && (res <= max_val) ) + if( (res <= max_val) ) { in[out_pos] = (byte?ENCODE_DIRECT_BASE:0)+res; } |