(decode_coding_string): Adjust coding->consumed, and
etc. with shrinked_bytes.
This commit is contained in:
parent
8cc08515f4
commit
160a708c6f
1 changed files with 5 additions and 0 deletions
|
@ -6238,6 +6238,11 @@ decode_coding_string (str, coding, nocopy)
|
|||
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);
|
||||
|
|
Loading…
Add table
Reference in a new issue