From 2401e70e86503d3ed51457e09a7a0da1cd8034ae Mon Sep 17 00:00:00 2001 From: "K.Kosako" Date: Wed, 22 Aug 2018 13:32:13 +0900 Subject: [PATCH] fix invalid function call in property_name_to_ctype() of sjis.c --- src/sjis.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; } -- 2.50.1