diff options
| author | Kenichi Handa | 1999-02-15 10:47:36 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1999-02-15 10:47:36 +0000 |
| commit | a63063ae57cb29361ada128192d644ed450d679a (patch) | |
| tree | 9d283db8d5b555103884e1b6b654d9a64835e965 /src/coding.c | |
| parent | 2c3ac81d09ab19ce70fbdd941022cf709a616ae7 (diff) | |
| download | emacs-a63063ae57cb29361ada128192d644ed450d679a.tar.gz emacs-a63063ae57cb29361ada128192d644ed450d679a.zip | |
(decode_coding_iso2022): Don't set coding->composed_chars to 0 here.
(setup_coding_system): Set coding->composed_chars to 0 here.
Diffstat (limited to 'src/coding.c')
| -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 2a2ad2136aa..45cfb053930 100644 --- a/src/coding.c +++ b/src/coding.c | |||
| @@ -1043,7 +1043,6 @@ decode_coding_iso2022 (coding, source, destination, src_bytes, dst_bytes) | |||
| 1043 | translation_table = Vstandard_translation_table_for_decode; | 1043 | translation_table = Vstandard_translation_table_for_decode; |
| 1044 | 1044 | ||
| 1045 | coding->produced_char = 0; | 1045 | coding->produced_char = 0; |
| 1046 | coding->composed_chars = 0; | ||
| 1047 | coding->fake_multibyte = 0; | 1046 | coding->fake_multibyte = 0; |
| 1048 | while (src < src_end && (dst_bytes | 1047 | while (src < src_end && (dst_bytes |
| 1049 | ? (dst < adjusted_dst_end) | 1048 | ? (dst < adjusted_dst_end) |
| @@ -2885,6 +2884,7 @@ setup_coding_system (coding_system, coding) | |||
| 2885 | 2884 | ||
| 2886 | /* Initialize remaining fields. */ | 2885 | /* Initialize remaining fields. */ |
| 2887 | coding->composing = 0; | 2886 | coding->composing = 0; |
| 2887 | coding->composed_chars = 0; | ||
| 2888 | 2888 | ||
| 2889 | /* Get values of coding system properties: | 2889 | /* Get values of coding system properties: |
| 2890 | `post-read-conversion', `pre-write-conversion', | 2890 | `post-read-conversion', `pre-write-conversion', |