(decode_coding_sjis): Check the first byte rigidly.

This commit is contained in:
Kenichi Handa 2004-01-24 09:13:19 +00:00
parent abf8189e01
commit 8e921c4b65

View file

@ -4025,6 +4025,8 @@ decode_coding_sjis (coding)
goto invalid_code;
if (c < 0x80)
charset = charset_roman;
else if (c == 0x80)
goto invalid_code;
else
{
if (c >= 0xF0)