aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1994-01-24 17:07:28 +0000
committerRichard M. Stallman1994-01-24 17:07:28 +0000
commit767809fb40853c0c2a678ac84e25ee921f7c542e (patch)
tree7946f9c0cd904618734139a779225a5cccc64785 /src
parent407362cd3b2aeceb6776b221559cb3737d09ceae (diff)
downloademacs-767809fb40853c0c2a678ac84e25ee921f7c542e.tar.gz
emacs-767809fb40853c0c2a678ac84e25ee921f7c542e.zip
(graft_intervals_into_buffer): Fix one-off
comparing lengths of over and under.
Diffstat (limited to 'src')
-rw-r--r--src/intervals.c2
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)
1458 1458
1459 while (! NULL_INTERVAL_P (over)) 1459 while (! NULL_INTERVAL_P (over))
1460 { 1460 {
1461 if (LENGTH (over) + 1 < LENGTH (under)) 1461 if (LENGTH (over) < LENGTH (under))
1462 { 1462 {
1463 this = split_interval_left (under, LENGTH (over)); 1463 this = split_interval_left (under, LENGTH (over));
1464 copy_properties (under, this); 1464 copy_properties (under, this);