]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fcall_process): Calculate CARRYOVER correctly.
authorKenichi Handa <handa@m17n.org>
Tue, 3 Mar 1998 01:29:16 +0000 (01:29 +0000)
committerKenichi Handa <handa@m17n.org>
Tue, 3 Mar 1998 01:29:16 +0000 (01:29 +0000)
src/callproc.c

index 3d117f52d6c7e302765eb1a0365f1d094f510139..7dc30da41a8af2c7ca3abd1583a33e7b85c538d2 100644 (file)
@@ -712,7 +712,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.")
                               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