summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/buffer.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/buffer.c b/src/buffer.c
index 1b7bb6f9b75..7480d89234e 100644
--- a/src/buffer.c
+++ b/src/buffer.c
@@ -1946,6 +1946,7 @@ verify_overlay_modification (start, end)
ostart = OVERLAY_START (overlay);
oend = OVERLAY_END (overlay);
startpos = OVERLAY_POSITION (ostart);
+ endpos = OVERLAY_POSITION (oend);
if (XFASTINT (end) < startpos)
break;
if (XFASTINT (end) == startpos && insertion)