diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/textprop.c | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/textprop.c b/src/textprop.c index b324217907e..50810e62dfc 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -568,6 +568,8 @@ property_change_between_p (beg, end) | |||
| 568 | while (! NULL_INTERVAL_P (next) && intervals_equal (i, next)) | 568 | while (! NULL_INTERVAL_P (next) && intervals_equal (i, next)) |
| 569 | { | 569 | { |
| 570 | next = next_interval (next); | 570 | next = next_interval (next); |
| 571 | if (NULL_INTERVAL_P (next)) | ||
| 572 | return 0; | ||
| 571 | if (next->position >= end) | 573 | if (next->position >= end) |
| 572 | return 0; | 574 | return 0; |
| 573 | } | 575 | } |