diff options
| -rw-r--r-- | src/fileio.c | 2 |
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); } |
