summaryrefslogtreecommitdiffstats
path: root/missing
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-05 08:59:46 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2009-01-05 08:59:46 +0000
commit1e2a324000874db35ea5d98af2cd26a30636c7d9 (patch)
treeafb6ff95e17c91fdc069bf51e9f4f7794c45461a /missing
parent817d0a3dcf38c4ed9f0369d785f0a96d583d5d80 (diff)
downloadruby-1e2a324000874db35ea5d98af2cd26a30636c7d9.tar.gz
ruby-1e2a324000874db35ea5d98af2cd26a30636c7d9.tar.xz
ruby-1e2a324000874db35ea5d98af2cd26a30636c7d9.zip
* missing/langinfo.c (nl_langinfo_0): fixed typos for SJIS.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@21344 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'missing')
-rw-r--r--missing/langinfo.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/missing/langinfo.c b/missing/langinfo.c
index 50e1d9bea..29f82e3ed 100644
--- a/missing/langinfo.c
+++ b/missing/langinfo.c
@@ -76,10 +76,10 @@ static const char *nl_langinfo_0(nl_item item)
if (strstart(p, "620")) return "TIS-620";
if (strstart(p, "2312")) return "GB2312";
if (strstart(p, "HKSCS")) return "Big5HKSCS"; /* no MIME charset */
- if (strstart(p, "Big5") || strstart(l, "BIG5")) return "Big5";
+ if (strstart(p, "BIG5")) return "Big5";
if (strstart(p, "GBK")) return "GBK"; /* no MIME charset */
if (strstart(p, "18030")) return "GB18030"; /* no MIME charset */
- if (strstart(p, "Shift_JIS") || strstart(l, "SJIS")) return "Shift_JIS";
+ if (strstart(p, "Shift_JIS") || strstart(p, "SJIS")) return "Shift_JIS";
/* check for conclusive modifier */
if (strstart(p, "euro")) return "ISO-8859-15";
}