summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/intervals.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/intervals.c b/src/intervals.c
index e6254cbdf6a..a737e9dceef 100644
--- a/src/intervals.c
+++ b/src/intervals.c
@@ -655,7 +655,7 @@ adjust_intervals_for_insertion (tree, position, length)
/* If both intervals are sticky here, then default to the
left-most one. But perhaps we should create a new
interval here instead... */
- if (END_STICKY_P (prev))
+ if (END_STICKY_P (prev) || ! FRONT_STICKY_P (i))
i = prev;
}