summaryrefslogtreecommitdiff
path: root/enc/windows_1251.c
diff options
context:
space:
mode:
authornaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-13 20:46:00 +0000
committernaruse <naruse@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-01-13 20:46:00 +0000
commit5b46f99ce1111eec5fc45ea0b9d9631b09aa02d9 (patch)
tree7703aa64fb18ec9f329857ee7c023031711298b2 /enc/windows_1251.c
parent50bbc4e6ae9229907ad08730ab7330024361918a (diff)
* enc/*.c: add replicas and aliases.
* enc/make_encdb.h: add duplicate and undefined check. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15028 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
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 */