aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index ff684d567bc..832958de492 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -2166,7 +2166,8 @@ encode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
2166 else \ 2166 else \
2167 { \ 2167 { \
2168 c1 &= 0x7F, c2 &= 0x7F; \ 2168 c1 &= 0x7F, c2 &= 0x7F; \
2169 if (sjis_p && charset_alt == charset_jisx0208) \ 2169 if (sjis_p && (charset_alt == charset_jisx0208 \
2170 || charset_alt == charset_jisx0208_1978))\
2170 { \ 2171 { \
2171 unsigned char s1, s2; \ 2172 unsigned char s1, s2; \
2172 \ 2173 \