diff options
Diffstat (limited to 'sjis.c')
-rw-r--r-- | sjis.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -269,7 +269,7 @@ is_code_ctype(OnigCodePoint code, unsigned int ctype) ctype -= (ONIGENC_MAX_STD_CTYPE + 1); if (ctype >= (unsigned int )PropertyListNum) - return ONIGENCERR_TYPE_BUG; + return ONIGENC_ERR_TYPE_BUG; return onig_is_in_code_range((UChar* )PropertyList[ctype], code); } @@ -291,7 +291,7 @@ get_ctype_code_range(int ctype, OnigCodePoint* sb_out, ctype -= (ONIGENC_MAX_STD_CTYPE + 1); if (ctype >= PropertyListNum) - return ONIGENCERR_TYPE_BUG; + return ONIGENC_ERR_TYPE_BUG; *ranges = PropertyList[ctype]; return 0; |