changeset 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 d4de7ffb567d
children aa9b7c5f0f62
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 2 deletions(-) [+]
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)