summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>1999-02-15 10:47:36 +0000
committerKenichi Handa <handa@m17n.org>1999-02-15 10:47:36 +0000
commita63063ae57cb29361ada128192d644ed450d679a (patch)
tree9d283db8d5b555103884e1b6b654d9a64835e965 /src/coding.c
parent2c3ac81d09ab19ce70fbdd941022cf709a616ae7 (diff)
downloademacs-a63063ae57cb29361ada128192d644ed450d679a.tar.gz
(decode_coding_iso2022): Don't set coding->composed_chars to 0 here.
(setup_coding_system): Set coding->composed_chars to 0 here.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 2a2ad2136aa..45cfb053930 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -1043,7 +1043,6 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes)
translation_table = Vstandard_translation_table_for_decode;
coding->produced_char = 0;
- coding->composed_chars = 0;
coding->fake_multibyte = 0;
while (src < src_end && (dst_bytes
? (dst < adjusted_dst_end)
@@ -2885,6 +2884,7 @@ setup_coding_system (coding_system, coding)
/* Initialize remaining fields. */
coding->composing = 0;
+ coding->composed_chars = 0;
/* Get values of coding system properties:
`post-read-conversion', `pre-write-conversion',