diff src/coding.c @ 34197:78561a43cdd1

(setup_coding_system): Be sure to initialize coding->category_idx.
author Kenichi Handa <handa@m17n.org>
date Tue, 05 Dec 2000 12:34:56 +0000
parents 6ed22a848efa
children 37f85e931855
line wrap: on
line diff
--- a/src/coding.c	Tue Dec 05 12:32:32 2000 +0000
+++ b/src/coding.c	Tue Dec 05 12:34:56 2000 +0000
@@ -3011,6 +3011,12 @@
 	}
       else
 	coding->type = coding_type_no_conversion;
+      /* Initialize this member.  Any thing other than
+	 CODING_CATEGORY_IDX_UTF_16_BE and
+	 CODING_CATEGORY_IDX_UTF_16_LE are ok because they have
+	 special treatment in detect_eol.  */
+      coding->category_idx = CODING_CATEGORY_IDX_EMACS_MULE;
+
       return 0;
     }