aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRichard M. Stallman1998-02-14 07:27:29 +0000
committerRichard M. Stallman1998-02-14 07:27:29 +0000
commit4e38953cd1a7a7c87ca8f6701117c56df64e4722 (patch)
treeb4f7a7c6b6551c0f6a65d87707ed40df8fdabe37 /src
parent1a94abeac239a4c06c82441e4a61446ea8f56fb9 (diff)
downloademacs-4e38953cd1a7a7c87ca8f6701117c56df64e4722.tar.gz
emacs-4e38953cd1a7a7c87ca8f6701117c56df64e4722.zip
(Fsubst_char_in_region): Don't increment pos twice.
Diffstat (limited to 'src')
-rw-r--r--src/editfns.c2
1 files changed, 0 insertions, 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.")
1826 if (NILP (noundo)) 1826 if (NILP (noundo))
1827 record_change (pos, 1); 1827 record_change (pos, 1);
1828 for (i = 0; i < len; i++) *p++ = tostr[i]; 1828 for (i = 0; i < len; i++) *p++ = tostr[i];
1829 pos++;
1830 pos_byte += len;
1831 } 1829 }
1832 INC_BOTH (pos, pos_byte); 1830 INC_BOTH (pos, pos_byte);
1833 } 1831 }