diff --git a/common.c b/common.c index 131e5ce02..79119aa85 100644 --- a/common.c +++ b/common.c @@ -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; }