diff src/editfns.c @ 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 64d2baa47498
children f61425242f70
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);
     }