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 d5f3852cae7..ea796887457 100644 --- a/src/textprop.c +++ b/src/textprop.c | |||
| @@ -643,6 +643,7 @@ Return t if any property value actually changed, nil otherwise.") | |||
| 643 | if (got >= len) | 643 | if (got >= len) |
| 644 | return Qnil; | 644 | return Qnil; |
| 645 | len -= got; | 645 | len -= got; |
| 646 | i = next_interval (i); | ||
| 646 | } | 647 | } |
| 647 | else | 648 | else |
| 648 | { | 649 | { |
| @@ -815,6 +816,7 @@ Return t if any property was actually removed, nil otherwise.") | |||
| 815 | if (got >= len) | 816 | if (got >= len) |
| 816 | return Qnil; | 817 | return Qnil; |
| 817 | len -= got; | 818 | len -= got; |
| 819 | i = next_interval (i); | ||
| 818 | } | 820 | } |
| 819 | /* Split away the beginning of this interval; what we don't | 821 | /* Split away the beginning of this interval; what we don't |
| 820 | want to modify. */ | 822 | want to modify. */ |