]> git.eshelyaron.com Git - emacs.git/commitdiff
(Fsubst_char_in_region): Don't increment pos twice.
authorRichard M. Stallman <rms@gnu.org>
Sat, 14 Feb 1998 07:27:29 +0000 (07:27 +0000)
committerRichard M. Stallman <rms@gnu.org>
Sat, 14 Feb 1998 07:27:29 +0000 (07:27 +0000)
src/editfns.c

index e1a706de4352d6afa39f124b10dc86fd4d801364..bb80541929314d45317287afb0392f886b9bfc1b 100644 (file)
@@ -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);
     }