changeset 24316:4efecaf73aac

(decode_coding_iso2022): Don't set coding->composed_chars to 0 here. (setup_coding_system): Set coding->composed_chars to 0 here.
author Kenichi Handa <handa@m17n.org>
date Mon, 15 Feb 1999 10:47:36 +0000
parents 382a7de604b6
children 971fec299b71
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Sun Feb 14 06:00:44 1999 +0000
+++ b/src/coding.c	Mon Feb 15 10:47:36 1999 +0000
@@ -1043,7 +1043,6 @@
     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 @@
 
   /* Initialize remaining fields.  */
   coding->composing = 0;
+  coding->composed_chars = 0;
 
   /* Get values of coding system properties:
      `post-read-conversion', `pre-write-conversion',