summaryrefslogtreecommitdiff
path: root/unicode.c
diff options
context:
space:
mode:
Diffstat (limited to 'unicode.c')
-rw-r--r--unicode.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/unicode.c b/unicode.c
index 12df76f449..657954a5fe 100644
--- a/unicode.c
+++ b/unicode.c
@@ -10756,7 +10756,7 @@ onigenc_unicode_is_code_ctype(OnigCodePoint code, unsigned int ctype)
}
if (ctype >= CODE_RANGES_NUM) {
- return ONIGENCERR_TYPE_BUG;
+ return ONIGENC_ERR_TYPE_BUG;
}
if (CodeRangeTableInited == 0) init_code_range_array();
@@ -10769,7 +10769,7 @@ extern int
onigenc_unicode_ctype_code_range(int ctype, const OnigCodePoint* ranges[])
{
if (ctype >= CODE_RANGES_NUM) {
- return ONIGENCERR_TYPE_BUG;
+ return ONIGENC_ERR_TYPE_BUG;
}
if (CodeRangeTableInited == 0) init_code_range_array();