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 648d7227d8b..9d8892a797a 100644 --- a/src/buffer.c +++ b/src/buffer.c | |||
| @@ -3845,7 +3845,9 @@ fix_overlays_before (struct buffer *bp, ptrdiff_t prev, ptrdiff_t pos) | |||
| 3845 | or the found one ends before PREV, | 3845 | or the found one ends before PREV, |
| 3846 | or the found one is the last one in the list, | 3846 | or the found one is the last one in the list, |
| 3847 | we don't have to fix anything. */ | 3847 | we don't have to fix anything. */ |
| 3848 | if (!tail || end < prev || !tail->next) | 3848 | if (!tail) |
| 3849 | return; | ||
| 3850 | if (end < prev || !tail->next) | ||
| 3849 | return; | 3851 | return; |
| 3850 | 3852 | ||
| 3851 | right_pair = parent; | 3853 | right_pair = parent; |