From: handa Date: Mon, 31 May 2004 07:50:51 +0000 (+0000) Subject: (reset_coding_sjis): Check kanji and kana instead of X-Git-Tag: withdl~142 X-Git-Url: http://git.chise.org/gitweb/?a=commitdiff_plain;h=a9991e01d68cdb7c224ec95cbd556106faab7532;p=m17n%2Fm17n-lib.git (reset_coding_sjis): Check kanji and kana instead of kanji_sym and kana_sym. --- diff --git a/src/coding.c b/src/coding.c index 52c5fb2..c11ce2b 100644 --- a/src/coding.c +++ b/src/coding.c @@ -2634,7 +2634,7 @@ reset_coding_sjis (MConverter *converter) MSymbol kana_sym = msymbol ("jisx0201-kana"); MCharset *kana = MCHARSET (kana_sym); - if (! kanji_sym || ! kana_sym) + if (! kanji || ! kana) return -1; coding->ncharsets = 3; coding->charsets[1] = kanji;