aboutsummaryrefslogtreecommitdiffstats
path: root/src
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
parent1aa956a1e24407519d24b4dd0ff91ac52c267f86 (diff)
downloademacs-b2dab6c8f718458689396188f659b09571b473dc.tar.gz
emacs-b2dab6c8f718458689396188f659b09571b473dc.zip
(decode_coding): Clear chars_at_source flag when using charbuf.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog5
-rw-r--r--src/coding.c2
2 files changed, 7 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 08e44bd095d..45c901fb342 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -1,3 +1,8 @@
12008-12-20 Jason Rumney <jasonr@gnu.org>
2
3 * coding.c (decode_coding): Clear chars_at_source flag when using
4 charbuf.
5
12008-12-19 Daniel Engeler <engeler@gmail.com> 62008-12-19 Daniel Engeler <engeler@gmail.com>
2 7
3 * sysdep.c (serial_configure): Fix typo. 8 * sysdep.c (serial_configure): Fix typo.
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++;