diff options
author | Richard M. Stallman <rms@gnu.org> | 1994-01-24 17:07:28 +0000 |
---|---|---|
committer | Richard M. Stallman <rms@gnu.org> | 1994-01-24 17:07:28 +0000 |
commit | 767809fb40853c0c2a678ac84e25ee921f7c542e (patch) | |
tree | 7946f9c0cd904618734139a779225a5cccc64785 /src/intervals.c | |
parent | 407362cd3b2aeceb6776b221559cb3737d09ceae (diff) | |
download | emacs-767809fb40853c0c2a678ac84e25ee921f7c542e.tar.gz |
(graft_intervals_into_buffer): Fix one-off
comparing lengths of over and under.
Diffstat (limited to 'src/intervals.c')
-rw-r--r-- | src/intervals.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intervals.c b/src/intervals.c index 51f988d4637..2a946e6da0b 100644 --- a/src/intervals.c +++ b/src/intervals.c @@ -1458,7 +1458,7 @@ graft_intervals_into_buffer (source, position, length, buffer, inherit) 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); |