Commit b2dab6c8 authored by Jason Rumney's avatar Jason Rumney
Browse files

(decode_coding): Clear chars_at_source flag when using charbuf.

parent 1aa956a1
2008-12-20 Jason Rumney <jasonr@gnu.org>
* coding.c (decode_coding): Clear chars_at_source flag when using
charbuf.
2008-12-19 Daniel Engeler <engeler@gmail.com> 2008-12-19 Daniel Engeler <engeler@gmail.com>
   
* sysdep.c (serial_configure): Fix typo. * sysdep.c (serial_configure): Fix typo.
......
...@@ -6654,6 +6654,8 @@ decode_coding (coding) ...@@ -6654,6 +6654,8 @@ decode_coding (coding)
that the number of data is less than the size of that the number of data is less than the size of
coding->charbuf. */ coding->charbuf. */
coding->charbuf_used = 0; coding->charbuf_used = 0;
coding->chars_at_source = 0;
while (nbytes-- > 0) while (nbytes-- > 0)
{ {
int c = *src++; int c = *src++;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment