1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2025-12-22 13:40:44 -08:00

(decode_coding): Clear chars_at_source flag when using charbuf.

This commit is contained in:
Jason Rumney 2008-12-20 08:01:12 +00:00
parent 1aa956a1e2
commit b2dab6c8f7
2 changed files with 7 additions and 0 deletions

View file

@ -6654,6 +6654,8 @@ decode_coding (coding)
that the number of data is less than the size of
coding->charbuf. */
coding->charbuf_used = 0;
coding->chars_at_source = 0;
while (nbytes-- > 0)
{
int c = *src++;