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 1e2e2406ab7..ff684d567bc 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -2155,6 +2155,8 @@ encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes) | |||
| 2155 | { \ | 2155 | { \ |
| 2156 | if (sjis_p && charset_alt == charset_katakana_jisx0201) \ | 2156 | if (sjis_p && charset_alt == charset_katakana_jisx0201) \ |
| 2157 | *dst++ = c1; \ | 2157 | *dst++ = c1; \ |
| 2158 | else if (sjis_p && charset_alt == charset_latin_jisx0201) \ | ||
| 2159 | *dst++ = c1 & 0x7F; \ | ||
| 2158 | else \ | 2160 | else \ |
| 2159 | { \ | 2161 | { \ |
| 2160 | *dst++ = charset_alt, *dst++ = c1; \ | 2162 | *dst++ = charset_alt, *dst++ = c1; \ |