Mercurial > emacs
changeset 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 | 5b9242222549 |
children | 5919ee79d487 |
files | src/coding.c |
diffstat | 1 files changed, 5 insertions(+), 0 deletions(-) [+] |
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);