From: K.Kosako Date: Thu, 10 Aug 2017 02:04:54 +0000 (+0900) Subject: minor change X-Git-Tag: v6.6.0~113 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=8cb3e37093e146045d2910c3ad45e87f2d8a3078;p=onig minor change --- diff --git a/src/regint.h b/src/regint.h index 1af09b3..8cd47c4 100644 --- a/src/regint.h +++ b/src/regint.h @@ -283,7 +283,7 @@ typedef unsigned int MemStatusType; #define INT_MAX_LIMIT ((1UL << (SIZEOF_INT * 8 - 1)) - 1) #define ONIGENC_IS_CODE_DIGIT_ASCII(enc, code) \ - ((code) < 128 && ONIGENC_IS_CODE_CTYPE(enc,code,ONIGENC_CTYPE_DIGIT)) + ((code) < 128 && ONIGENC_IS_CODE_DIGIT(enc,code)) #define ONIGENC_IS_CODE_XDIGIT_ASCII(enc, code) \ ((code) < 128 && ONIGENC_IS_CODE_XDIGIT(enc,code))