summaryrefslogtreecommitdiff
path: root/enc/utf8.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/utf8.c')
-rw-r--r--enc/utf8.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/utf8.c b/enc/utf8.c
index 24a3854..9f278b5 100644
--- a/enc/utf8.c
+++ b/enc/utf8.c
@@ -486,7 +486,7 @@ utf8_get_case_fold_codes_by_str(OnigCaseFoldType flag,
flag, p, end, items);
}
-OnigEncodingType OnigEncodingUTF8 = {
+OnigEncodingDefine(UTF8) = {
utf8_mbc_enc_len,
"UTF-8", /* name */
6, /* max byte length */