diff src/editfns.c @ 20564:4d06099b7e09

(transpose_markers): Update marker's bytepos.
author Richard M. Stallman <rms@gnu.org>
date Fri, 02 Jan 1998 21:26:32 +0000
parents 24acae12e085
children 9331e7e88cf5
line wrap: on
line diff
--- a/src/editfns.c	Fri Jan 02 21:26:05 1998 +0000
+++ b/src/editfns.c	Fri Jan 02 21:26:32 1998 +0000
@@ -2478,8 +2478,7 @@
 	    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)