changeset 90014:ade0c9a12f99

(encode_coding_iso_2022): Fix handling of charset annotation.
author Kenichi Handa <handa@m17n.org>
date Wed, 13 Oct 2004 02:40:30 +0000
parents 497891b0afeb
children 9ee566735998
files src/coding.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Tue Oct 12 02:51:32 2004 +0000
+++ b/src/coding.c	Wed Oct 13 02:40:30 2004 +0000
@@ -3799,7 +3799,7 @@
 	      /* Not yet implemented.  */
 	      break;
 	    case CODING_ANNOTATE_CHARSET_MASK:
-	      preferred_charset_id = charbuf[3];
+	      preferred_charset_id = charbuf[2];
 	      if (preferred_charset_id >= 0
 		  && NILP (Fmemq (make_number (preferred_charset_id),
 				  charset_list)))