diff options
Diffstat (limited to 'src/coding.c')
| -rw-r--r-- | src/coding.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c index 9da19e53c2e..2353834b4ad 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -4025,6 +4025,8 @@ decode_coding_sjis (coding) | |||
| 4025 | goto invalid_code; | 4025 | goto invalid_code; |
| 4026 | if (c < 0x80) | 4026 | if (c < 0x80) |
| 4027 | charset = charset_roman; | 4027 | charset = charset_roman; |
| 4028 | else if (c == 0x80) | ||
| 4029 | goto invalid_code; | ||
| 4028 | else | 4030 | else |
| 4029 | { | 4031 | { |
| 4030 | if (c >= 0xF0) | 4032 | if (c >= 0xF0) |