diff options
| author | Kenichi Handa | 2004-10-13 02:40:30 +0000 |
|---|---|---|
| committer | Kenichi Handa | 2004-10-13 02:40:30 +0000 |
| commit | cf7dfdf5a67edd479a052f987902e8881ba83a5e (patch) | |
| tree | 7ec10901455ed3463441bd9a54cf10bb4031d71c /src | |
| parent | 9a6e87fb6fee35e1cb6df791f00ba91783183655 (diff) | |
| download | emacs-cf7dfdf5a67edd479a052f987902e8881ba83a5e.tar.gz emacs-cf7dfdf5a67edd479a052f987902e8881ba83a5e.zip | |
(encode_coding_iso_2022): Fix handling of charset
annotation.
Diffstat (limited to 'src')
| -rw-r--r-- | src/coding.c | 2 |
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) | |||
| 3799 | /* Not yet implemented. */ | 3799 | /* Not yet implemented. */ |
| 3800 | break; | 3800 | break; |
| 3801 | case CODING_ANNOTATE_CHARSET_MASK: | 3801 | case CODING_ANNOTATE_CHARSET_MASK: |
| 3802 | preferred_charset_id = charbuf[3]; | 3802 | preferred_charset_id = charbuf[2]; |
| 3803 | if (preferred_charset_id >= 0 | 3803 | if (preferred_charset_id >= 0 |
| 3804 | && NILP (Fmemq (make_number (preferred_charset_id), | 3804 | && NILP (Fmemq (make_number (preferred_charset_id), |
| 3805 | charset_list))) | 3805 | charset_list))) |