Mercurial > emacs
changeset 5666:ceed2e32b303
(graft_intervals_into_buffer): Fix one-off
comparing lengths of over and under.
author | Richard M. Stallman <rms@gnu.org> |
---|---|
date | Mon, 24 Jan 1994 17:07:28 +0000 |
parents | 83b4ead7031f |
children | 03c03462bca3 |
files | src/intervals.c |
diffstat | 1 files changed, 1 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/src/intervals.c Mon Jan 24 12:31:40 1994 +0000 +++ b/src/intervals.c Mon Jan 24 17:07:28 1994 +0000 @@ -1458,7 +1458,7 @@ while (! NULL_INTERVAL_P (over)) { - if (LENGTH (over) + 1 < LENGTH (under)) + if (LENGTH (over) < LENGTH (under)) { this = split_interval_left (under, LENGTH (over)); copy_properties (under, this);