diff options
Diffstat (limited to 'Modules/cjkcodecs/_codecs_hk.c')
-rw-r--r-- | Modules/cjkcodecs/_codecs_hk.c | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/Modules/cjkcodecs/_codecs_hk.c b/Modules/cjkcodecs/_codecs_hk.c index 825772e..a79b699 100644 --- a/Modules/cjkcodecs/_codecs_hk.c +++ b/Modules/cjkcodecs/_codecs_hk.c @@ -81,14 +81,18 @@ ENCODER(big5hkscs) } } } - else if (TRYMAP_ENC(big5, code, c)); - else return 1; + else if (TRYMAP_ENC(big5, code, c)) + ; + else + return 1; } else if (c < 0x20000) return insize; else if (c < 0x30000) { - if (TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff)); - else return insize; + if (TRYMAP_ENC(big5hkscs_nonbmp, code, c & 0xffff)) + ; + else + return insize; } else return insize; |