changeset 21036:3d4005eb0e71

(Fcall_process): Calculate CARRYOVER correctly.
author Kenichi Handa <handa@m17n.org>
date Tue, 03 Mar 1998 01:29:16 +0000
parents 5d18067080d0
children 1290ba9ccec8
files src/callproc.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/callproc.c	Tue Mar 03 01:29:16 1998 +0000
+++ b/src/callproc.c	Tue Mar 03 01:29:16 1998 +0000
@@ -712,7 +712,7 @@
 			       nread, size);
 		if (process_coding.produced > 0)
 		  insert (decoding_buf, process_coding.produced);
-		carryover = process_coding.produced - process_coding.consumed;
+		carryover = nread - process_coding.consumed;
 		if (carryover > 0)
 		  {
 		    /* As CARRYOVER should not be that large, we had