From: K.Kosako Date: Wed, 22 Aug 2018 04:32:13 +0000 (+0900) Subject: fix invalid function call in property_name_to_ctype() of sjis.c X-Git-Tag: v6.9.0~38 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2401e70e86503d3ed51457e09a7a0da1cd8034ae;p=onig fix invalid function call in property_name_to_ctype() of sjis.c --- diff --git a/src/sjis.c b/src/sjis.c index 12e93e8..8e57b8f 100644 --- a/src/sjis.c +++ b/src/sjis.c @@ -268,7 +268,7 @@ property_name_to_ctype(OnigEncoding enc, UChar* p, UChar* end) if (len < sizeof(q) - 1) { xmemcpy(q, p, (size_t )len); q[len] = '\0'; - pc = euc_jp_lookup_property_name(q, len); + pc = sjis_lookup_property_name(q, len); if (pc != 0) return pc->ctype; }