]> granicus.if.org Git - onig/commitdiff
fix invalid function call in property_name_to_ctype() of sjis.c
authorK.Kosako <kosako@sofnec.co.jp>
Wed, 22 Aug 2018 04:32:13 +0000 (13:32 +0900)
committerK.Kosako <kosako@sofnec.co.jp>
Wed, 22 Aug 2018 04:32:13 +0000 (13:32 +0900)
src/sjis.c

index 12e93e88d80b372ce66a3a605c67b6eb350f92cc..8e57b8f03498d5bc4e2c90349e008648084b8d71 100644 (file)
@@ -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;
   }