Mercurial > emacs
diff src/coding.c @ 56595:40a0843be50a
(decode_coding_string): Adjust coding->consumed, and
etc. with shrinked_bytes.
| author | Kenichi Handa <handa@m17n.org> |
|---|---|
| date | Tue, 03 Aug 2004 05:12:00 +0000 |
| parents | 75f56340b4f9 |
| children | 9093a2e9c3fd 4a196c3bd2d8 |
line wrap: on
line diff
--- a/src/coding.c Mon Aug 02 23:59:28 2004 +0000 +++ b/src/coding.c Tue Aug 03 05:12:00 2004 +0000 @@ -6238,6 +6238,11 @@ shrinked_bytes - from); free_conversion_buffer (&buf); + coding->consumed += shrinked_bytes; + coding->consumed_char += shrinked_bytes; + coding->produced += shrinked_bytes; + coding->produced_char += shrinked_bytes; + if (coding->cmp_data && coding->cmp_data->used) coding_restore_composition (coding, newstr); coding_free_composition_data (coding);
