changeset 32857:e3c81dc17582

(find_field): Use the correct overlay marker when checking after_overlay's start ins type.
author Miles Bader <miles@gnu.org>
date Wed, 25 Oct 2000 07:35:11 +0000
parents 5fe3b3dc5dd9
children 04a91ff2afcd
files src/editfns.c
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Wed Oct 25 07:30:21 2000 +0000
+++ b/src/editfns.c	Wed Oct 25 07:35:11 2000 +0000
@@ -442,7 +442,8 @@
 	   also eat insertions here, but then they will overlap, and
 	   there's not much we can do.  */
 	stickiness = -1;
-      else if (aop && XMARKER(OVERLAY_END(after_overlay))->insertion_type == 0)
+      else if (aop
+	       && XMARKER (OVERLAY_START (after_overlay))->insertion_type == 0)
 	/* after_field is from an overlay, which expand to contain
 	   start-insertions.  */
 	stickiness = 1;