aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorJason Rumney2008-12-20 08:01:12 +0000
committerJason Rumney2008-12-20 08:01:12 +0000
commitb2dab6c8f718458689396188f659b09571b473dc (patch)
treedff6ebac3826c88b31495486ec95480a4a126781 /src/coding.c
parent1aa956a1e24407519d24b4dd0ff91ac52c267f86 (diff)
downloademacs-b2dab6c8f718458689396188f659b09571b473dc.tar.gz
emacs-b2dab6c8f718458689396188f659b09571b473dc.zip
(decode_coding): Clear chars_at_source flag when using charbuf.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/coding.c b/src/coding.c
index e292f808597..869a2715640 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6654,6 +6654,8 @@ decode_coding (coding)
6654 that the number of data is less than the size of 6654 that the number of data is less than the size of
6655 coding->charbuf. */ 6655 coding->charbuf. */
6656 coding->charbuf_used = 0; 6656 coding->charbuf_used = 0;
6657 coding->chars_at_source = 0;
6658
6657 while (nbytes-- > 0) 6659 while (nbytes-- > 0)
6658 { 6660 {
6659 int c = *src++; 6661 int c = *src++;