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

(property_change_between_p): Test NULL_INTERVAL_P

in loop, before looking at next->position.
parent 5843fef3
......@@ -568,6 +568,8 @@ property_change_between_p (beg, end)
while (! NULL_INTERVAL_P (next) && intervals_equal (i, next))
next = next_interval (next);
if (NULL_INTERVAL_P (next))
return 0;
if (next->position >= end)
return 0;
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