diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2019-07-12 09:18:14 +0200 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2019-07-12 09:18:14 +0200 |
commit | e25c754918ae26e8b9e68a47bc1af36248e91800 (patch) | |
tree | d21952fcb2767620c25d4d5b412b8c4829ca96bc /src/euc_tw.c | |
parent | 70de057dbb5ea79536834e156f534279347f96f3 (diff) |
New upstream version 6.9.2upstream/6.9.2
Diffstat (limited to 'src/euc_tw.c')
-rw-r--r-- | src/euc_tw.c | 28 |
1 files changed, 14 insertions, 14 deletions
diff --git a/src/euc_tw.c b/src/euc_tw.c index 7683336..c9acaf1 100644 --- a/src/euc_tw.c +++ b/src/euc_tw.c @@ -63,27 +63,27 @@ is_valid_mbc_string(const UChar* p, const UChar* end) } else if (*p < 0xa1) { if (*p == 0x8e) { - p++; - if (p >= end) return FALSE; - if (*p < 0xa1 || *p > 0xb0) return FALSE; - p++; - if (p >= end) return FALSE; - if (*p < 0xa1 || *p == 0xff) - return FALSE; - p++; - if (p >= end) return FALSE; - if (*p < 0xa1 || *p == 0xff) - return FALSE; - p++; + p++; + if (p >= end) return FALSE; + if (*p < 0xa1 || *p > 0xb0) return FALSE; + p++; + if (p >= end) return FALSE; + if (*p < 0xa1 || *p == 0xff) + return FALSE; + p++; + if (p >= end) return FALSE; + if (*p < 0xa1 || *p == 0xff) + return FALSE; + p++; } else - return FALSE; + return FALSE; } else if (*p < 0xff) { p++; if (p >= end) return FALSE; if (*p < 0xa1 || *p == 0xff) - return FALSE; + return FALSE; p++; } else |