From 0369c273f23b727b155180671933727d61e2035e Mon Sep 17 00:00:00 2001 From: Fumitoshi UKAI Date: Tue, 27 Nov 2001 18:23:33 +0000 Subject: [w3m-dev 02578] From: Fumitoshi UKAI --- conv.c | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) (limited to 'conv.c') diff --git a/conv.c b/conv.c index 50c32a6..42144b0 100644 --- a/conv.c +++ b/conv.c @@ -1,4 +1,4 @@ -/* $Id: conv.c,v 1.4 2001/11/24 02:01:26 ukai Exp $ */ +/* $Id: conv.c,v 1.5 2001/11/27 18:23:33 ukai Exp $ */ #include #include #include "fm.h" @@ -565,8 +565,7 @@ checkShiftCode(Str buf, uchar hint) case EUC_NOSTATE: if (!(*p & 0x80)) /* ASCII */ ; - else if (0xa1 <= *p && *p <= 0xfe) /* JIS X 0208, - * * * * * 0213-1 */ + else if (0xa1 <= *p && *p <= 0xfe) /* JIS X 0208, 0213-1 */ euc = (CODE_STATE(euc) | EUC_MBYTE1); else if (*p == EUC_SS2_CODE) /* SS2 + JIS X 0201-Kana */ euc = (CODE_STATE(euc) | EUC_SS2); @@ -625,8 +624,7 @@ checkShiftCode(Str buf, uchar hint) case SJIS_SHIFT_H: if (CODE_STATE(sjis) == CODE_NORMAL) sjis = CODE_OK; - if ((0x40 <= *p && *p <= 0x7e) || (0x80 <= *p && *p <= 0xfc)) /* JIS X 0208, - * * * * * 0213 */ + if ((0x40 <= *p && *p <= 0x7e) || (0x80 <= *p && *p <= 0xfc)) /* JIS X 0208, 0213 */ sjis = (CODE_STATE(sjis) | SJIS_NOSTATE); else if (sjis & CODE_BROKEN) sjis = CODE_ERROR; -- cgit v1.2.3