(decode_coding): Clear chars_at_source flag when using charbuf.
This commit is contained in:
parent
1aa956a1e2
commit
b2dab6c8f7
2 changed files with 7 additions and 0 deletions
|
|
@ -1,3 +1,8 @@
|
|||
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>
|
||||
|
||||
* sysdep.c (serial_configure): Fix typo.
|
||||
|
|
|
|||
|
|
@ -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++;
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue