mirror of
https://git.savannah.gnu.org/git/emacs.git
synced 2024-11-23 07:19:15 +00:00
(decode_coding_string): Adjust coding->consumed, and
etc. with shrinked_bytes.
This commit is contained in:
parent
8cc08515f4
commit
160a708c6f
@ -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…
Reference in New Issue
Block a user