Commit 767809fb authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(graft_intervals_into_buffer): Fix one-off

comparing lengths of over and under.
parent 407362cd
......@@ -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);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment