changeset 6194:b094b321b4a6

(Finsert_file_contents): Pass del_range_1 two ends, not a length.
author Richard M. Stallman <rms@gnu.org>
date Fri, 04 Mar 1994 04:19:14 +0000
parents 74fcc9007c39
children f5f8e0bcfaaf
files src/fileio.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/fileio.c	Fri Mar 04 04:03:46 1994 +0000
+++ b/src/fileio.c	Fri Mar 04 04:19:14 1994 +0000
@@ -2681,7 +2681,7 @@
       /* 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);
     }