diff options
| author | Kenichi Handa | 1998-03-03 01:29:16 +0000 |
|---|---|---|
| committer | Kenichi Handa | 1998-03-03 01:29:16 +0000 |
| commit | 11218c687b453aff6e332bde3e98cdb1f5bdbf6c (patch) | |
| tree | 77199a860b62b41ff7b9c9941cf3b85a8daab638 | |
| parent | e3670faac703a09d907604e5d31bf86fa7d2441c (diff) | |
| download | emacs-11218c687b453aff6e332bde3e98cdb1f5bdbf6c.tar.gz emacs-11218c687b453aff6e332bde3e98cdb1f5bdbf6c.zip | |
(Fcall_process): Calculate CARRYOVER correctly.
| -rw-r--r-- | src/callproc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/callproc.c b/src/callproc.c index 3d117f52d6c..7dc30da41a8 100644 --- a/src/callproc.c +++ b/src/callproc.c | |||
| @@ -712,7 +712,7 @@ If you quit, the process is killed with SIGINT, or SIGKILL if you quit again.") | |||
| 712 | nread, size); | 712 | nread, size); |
| 713 | if (process_coding.produced > 0) | 713 | if (process_coding.produced > 0) |
| 714 | insert (decoding_buf, process_coding.produced); | 714 | insert (decoding_buf, process_coding.produced); |
| 715 | carryover = process_coding.produced - process_coding.consumed; | 715 | carryover = nread - process_coding.consumed; |
| 716 | if (carryover > 0) | 716 | if (carryover > 0) |
| 717 | { | 717 | { |
| 718 | /* As CARRYOVER should not be that large, we had | 718 | /* As CARRYOVER should not be that large, we had |