From 251f623e8e6855659c5c1cac4d69d5ec0ada784f Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 4 Mar 1994 04:19:14 +0000 Subject: [PATCH] (Finsert_file_contents): Pass del_range_1 two ends, not a length. --- src/fileio.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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); } -- 2.39.5