changeset 20895:896aeeb4f735

(Fsubst_char_in_region): Don't increment pos twice.
author Richard M. Stallman <rms@gnu.org>
date Sat, 14 Feb 1998 07:27:29 +0000
parents 962d8c41cfa2
children ec8cd27243b6
files src/editfns.c
diffstat 1 files changed, 0 insertions(+), 2 deletions(-) [+]
line wrap: on
line diff
--- a/src/editfns.c	Sat Feb 14 04:32:38 1998 +0000
+++ b/src/editfns.c	Sat Feb 14 07:27:29 1998 +0000
@@ -1826,8 +1826,6 @@
 	  if (NILP (noundo))
 	    record_change (pos, 1);
 	  for (i = 0; i < len; i++) *p++ = tostr[i];
-	  pos++;
-	  pos_byte += len;
 	}
       INC_BOTH (pos, pos_byte);
     }