changeset 100587:d91e3320dd81

(decode_coding): Clear chars_at_source flag when using charbuf.
author Jason Rumney <jasonr@gnu.org>
date Sat, 20 Dec 2008 07:59:33 +0000
parents 8f585a03d4d4
children 38f9e9e2dad2
files src/coding.c
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/src/coding.c	Sat Dec 20 07:20:32 2008 +0000
+++ b/src/coding.c	Sat Dec 20 07:59:33 2008 +0000
@@ -6654,6 +6654,8 @@
 	     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++;