diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-12-21 13:52:15 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-12-21 13:52:15 +0100 |
commit | b746c25a6800aabc468eee653d8bca8e7810f633 (patch) | |
tree | ae87806ec6d6b65e9d3ae1729ccf253e12324e96 /src/big5.c | |
parent | eb5b295d37e9150e169cc95cbbc39f6ab7b88b2f (diff) | |
parent | 8d7d4edacab0298f96a3826819c01b4e8f6cbcfb (diff) |
Merge branch 'feature/upstream' into develop
Diffstat (limited to 'src/big5.c')
-rw-r--r-- | src/big5.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -151,7 +151,7 @@ big5_left_adjust_char_head(const UChar* start, const UChar* s) p++; break; } - } + } } len = enclen(ONIG_ENCODING_BIG5, p); if (p + len > s) return (UChar* )p; @@ -187,6 +187,6 @@ OnigEncodingType OnigEncodingBIG5 = { NULL, /* init */ NULL, /* is_initialized */ is_valid_mbc_string, - ENC_FLAG_ASCII_COMPATIBLE, + ENC_FLAG_ASCII_COMPATIBLE|ENC_FLAG_SKIP_OFFSET_1, 0, 0 }; |