aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
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);