diff options
author | Jörg Frings-Fürst <debian@jff.email> | 2018-12-21 13:48:39 +0100 |
---|---|---|
committer | Jörg Frings-Fürst <debian@jff.email> | 2018-12-21 13:48:39 +0100 |
commit | dba488ef4af76742cde7f5b03ef6f5453146eda6 (patch) | |
tree | 11c318e8ebd9eaab67edb50af33d510092264b90 /src/euc_jp.c | |
parent | eb5b295d37e9150e169cc95cbbc39f6ab7b88b2f (diff) | |
parent | 70de057dbb5ea79536834e156f534279347f96f3 (diff) |
Update upstream source from tag 'upstream/6.9.1'
Update to upstream version '6.9.1'
with Debian dir 30a97dee62f9f2b7c7a57e0e6622d9f503cf0256
Diffstat (limited to 'src/euc_jp.c')
-rw-r--r-- | src/euc_jp.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/euc_jp.c b/src/euc_jp.c index 5d3c1f9..c1ab89e 100644 --- a/src/euc_jp.c +++ b/src/euc_jp.c @@ -151,7 +151,7 @@ code_to_mbc(OnigCodePoint code, UChar *buf) #if 1 if (enclen(ONIG_ENCODING_EUC_JP, buf) != (p - buf)) return ONIGERR_INVALID_CODE_POINT_VALUE; -#endif +#endif return (int )(p - buf); } @@ -307,6 +307,6 @@ OnigEncodingType OnigEncodingEUC_JP = { NULL, /* init */ NULL, /* is_initialized */ is_valid_mbc_string, - ENC_FLAG_ASCII_COMPATIBLE, + ENC_FLAG_ASCII_COMPATIBLE|ENC_FLAG_SKIP_OFFSET_1_OR_0, 0, 0 }; |