From bd26096324aa4867f3932c8ee484e3e4f9484dd2 Mon Sep 17 00:00:00 2001 From: handa Date: Wed, 4 Feb 2009 11:31:30 +0000 Subject: [PATCH] (mcoding__init): Add "Shift_JIS" as an alias of "sjis". --- src/coding.c | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/coding.c b/src/coding.c index 10e0725..c29dcd9 100644 --- a/src/coding.c +++ b/src/coding.c @@ -2976,6 +2976,9 @@ mcoding__init (void) NULL, NULL, NULL, NULL); mplist_put (param, Mtype, Mnil); + pl = mplist (); + mplist_add (pl, Msymbol, msymbol ("Shift_JIS")); + mplist_put (param, Maliases, pl); mplist_set (charsets, Msymbol, Mcharset_ascii); Mcoding_sjis = mconv_define_coding ("sjis", param, reset_coding_sjis, @@ -2984,6 +2987,7 @@ mcoding__init (void) M17N_OBJECT_UNREF (charsets); M17N_OBJECT_UNREF (param); + M17N_OBJECT_UNREF (pl); return 0; } -- 1.7.10.4