summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman <rms@gnu.org>1994-03-04 04:19:14 +0000
committerRichard M. Stallman <rms@gnu.org>1994-03-04 04:19:14 +0000
commit251f623e8e6855659c5c1cac4d69d5ec0ada784f (patch)
tree81e3fe873ef0c6641634a4a526cc170b1a12a056 /src
parent8a5dd0860056db963930ace1ffffc343dabac74a (diff)
downloademacs-251f623e8e6855659c5c1cac4d69d5ec0ada784f.tar.gz
(Finsert_file_contents): Pass del_range_1 two ends, not a length.
Diffstat (limited to 'src')
-rw-r--r--src/fileio.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileio.c b/src/fileio.c
index 3b1513600e2..e24dca08306 100644
--- a/src/fileio.c
+++ b/src/fileio.c
@@ -2681,7 +2681,7 @@ and (2) it puts less data in the undo list.")
/* Arrange to read only the nonmatching middle part of the file. */
XFASTINT (beg) = same_at_start - BEGV;
XFASTINT (end) = st.st_size - (ZV - same_at_end);
- del_range_1 (same_at_start, same_at_end - same_at_start, 0);
+ del_range_1 (same_at_start, same_at_end, 0);
/* Insert from the file at the proper position. */
SET_PT (same_at_start);
}