aboutsummaryrefslogtreecommitdiffstats
path: root/regenc.c
diff options
context:
space:
mode:
Diffstat (limited to 'regenc.c')
-rw-r--r--regenc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/regenc.c b/regenc.c
index 21598ca7c7..b1ce664667 100644
--- a/regenc.c
+++ b/regenc.c
@@ -361,7 +361,7 @@ onigenc_mb2_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf)
#if 1
if (enc_len(enc, buf[0]) != (p - buf))
- return ONIGERR_INVALID_WIDE_CHAR_VALUE;
+ return ONIGENCERR_INVALID_WIDE_CHAR_VALUE;
#endif
return p - buf;
}
@@ -384,7 +384,7 @@ onigenc_mb4_code_to_mbc(OnigEncoding enc, OnigCodePoint code, UChar *buf)
#if 1
if (enc_len(enc, buf[0]) != (p - buf))
- return ONIGERR_INVALID_WIDE_CHAR_VALUE;
+ return ONIGENCERR_INVALID_WIDE_CHAR_VALUE;
#endif
return p - buf;
}