diff options
Diffstat (limited to 'src/buffer.c')
| -rw-r--r-- | src/buffer.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/buffer.c b/src/buffer.c index f405bcb5834..eca2843e2bc 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -3843,7 +3843,9 @@ fix_overlays_before (struct buffer *bp, ptrdiff_t prev, ptrdiff_t pos) | |||
| 3843 | or the found one ends before PREV, | 3843 | or the found one ends before PREV, |
| 3844 | or the found one is the last one in the list, | 3844 | or the found one is the last one in the list, |
| 3845 | we don't have to fix anything. */ | 3845 | we don't have to fix anything. */ |
| 3846 | if (!tail || end < prev || !tail->next) | 3846 | if (!tail) |
| 3847 | return; | ||
| 3848 | if (end < prev || !tail->next) | ||
| 3847 | return; | 3849 | return; |
| 3848 | 3850 | ||
| 3849 | right_pair = parent; | 3851 | right_pair = parent; |