summaryrefslogtreecommitdiff
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa <handa@m17n.org>2004-10-13 02:40:30 +0000
committerKenichi Handa <handa@m17n.org>2004-10-13 02:40:30 +0000
commitcf7dfdf5a67edd479a052f987902e8881ba83a5e (patch)
tree7ec10901455ed3463441bd9a54cf10bb4031d71c /src/coding.c
parent9a6e87fb6fee35e1cb6df791f00ba91783183655 (diff)
(encode_coding_iso_2022): Fix handling of charset
annotation.
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 02eeb5bed3e..8ca1d19c4c3 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -3799,7 +3799,7 @@ encode_coding_iso_2022 (coding)
/* 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)))