From 4e38953cd1a7a7c87ca8f6701117c56df64e4722 Mon Sep 17 00:00:00 2001 From: "Richard M. Stallman" Date: Sat, 14 Feb 1998 07:27:29 +0000 Subject: [PATCH] (Fsubst_char_in_region): Don't increment pos twice. --- src/editfns.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/src/editfns.c b/src/editfns.c index e1a706de435..bb805419293 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -1826,8 +1826,6 @@ Both characters must have the same length of multi-byte form.") 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); } -- 2.39.5