Commit 4e38953c authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fsubst_char_in_region): Don't increment pos twice.

parent 1a94abea
......@@ -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_byte += len;
INC_BOTH (pos, pos_byte);
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment