summaryrefslogtreecommitdiff
path: root/enc/windows_1251.c
diff options
context:
space:
mode:
Diffstat (limited to 'enc/windows_1251.c')
-rw-r--r--enc/windows_1251.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/enc/windows_1251.c b/enc/windows_1251.c
index 173fb66..faba0c9 100644
--- a/enc/windows_1251.c
+++ b/enc/windows_1251.c
@@ -180,7 +180,7 @@ cp1251_get_case_fold_codes_by_str(OnigCaseFoldType flag,
flag, p, end, items);
}
-OnigEncodingType OnigEncodingCP1251 = {
+OnigEncodingDefine(windows_1251, Windows_1251) = {
onigenc_single_byte_mbc_enc_len,
"Windows-1251", /* name */
1, /* max enc length */