Commit f3e1f752 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(transpose_markers): Update marker's bytepos.

parent 1f03507f
......@@ -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)
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment