From f3e1f75263cc40e53e85f8009f79e1d17035b1a1 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Fri, 2 Jan 1998 21:26:32 +0000 Subject: [PATCH] (transpose_markers): Update marker's bytepos. --- src/editfns.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index e4bf6a9099c..14c908243a1 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -2478,8 +2478,7 @@ transpose_markers (start1, end1, start2, end2, mpos += diff_byte; else mpos -= amt2_byte; - if (mpos > GPT_BYTE) mpos += GAP_SIZE; - XMARKER (marker)->bufpos = mpos; + XMARKER (marker)->bytepos = mpos; } mpos = XMARKER (marker)->charpos; if (mpos >= start1 && mpos < end2) -- 2.39.2