aboutsummaryrefslogtreecommitdiffstats
path: root/src/coding.c
diff options
context:
space:
mode:
authorKenichi Handa2006-02-28 11:05:39 +0000
committerKenichi Handa2006-02-28 11:05:39 +0000
commit0ca493eec6ce6107438ba5e4a41e5556936c3185 (patch)
tree6d928e4a4e3435a6ff9dc5c5a4300e15a842b87f /src/coding.c
parent7f3e252c6154237c4736836709b2977620bd056b (diff)
downloademacs-0ca493eec6ce6107438ba5e4a41e5556936c3185.tar.gz
emacs-0ca493eec6ce6107438ba5e4a41e5556936c3185.zip
(decode_coding): Fix the condition of terminating the
decoding loop.
Diffstat (limited to 'src/coding.c')
-rw-r--r--src/coding.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/coding.c b/src/coding.c
index 92194df6a6c..d4f17022626 100644
--- a/src/coding.c
+++ b/src/coding.c
@@ -6185,7 +6185,7 @@ decode_coding (coding)
6185 = coding->charbuf[coding->charbuf_used - carryover + i]; 6185 = coding->charbuf[coding->charbuf_used - carryover + i];
6186 } 6186 }
6187 while (coding->consumed < coding->src_bytes 6187 while (coding->consumed < coding->src_bytes
6188 && ! coding->result); 6188 && coding->result != CODING_RESULT_INSUFFICIENT_MEM);
6189 6189
6190 if (carryover > 0) 6190 if (carryover > 0)
6191 { 6191 {