]> code.delx.au - gnu-emacs/commitdiff
(decode_coding_iso2022): Don't set coding->composed_chars to 0 here.
authorKenichi Handa <handa@m17n.org>
Mon, 15 Feb 1999 10:47:36 +0000 (10:47 +0000)
committerKenichi Handa <handa@m17n.org>
Mon, 15 Feb 1999 10:47:36 +0000 (10:47 +0000)
(setup_coding_system): Set coding->composed_chars to 0 here.

src/coding.c

index 2a2ad2136aa16a2675e063691b2de6d27710f673..45cfb053930914861e91bb02820fd7764d343ee3 100644 (file)
@@ -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',