diff options
| author | Richard M. Stallman | 1998-02-14 07:27:29 +0000 |
|---|---|---|
| committer | Richard M. Stallman | 1998-02-14 07:27:29 +0000 |
| commit | 4e38953cd1a7a7c87ca8f6701117c56df64e4722 (patch) | |
| tree | b4f7a7c6b6551c0f6a65d87707ed40df8fdabe37 /src/editfns.c | |
| parent | 1a94abeac239a4c06c82441e4a61446ea8f56fb9 (diff) | |
| download | emacs-4e38953cd1a7a7c87ca8f6701117c56df64e4722.tar.gz emacs-4e38953cd1a7a7c87ca8f6701117c56df64e4722.zip | |
(Fsubst_char_in_region): Don't increment pos twice.
Diffstat (limited to 'src/editfns.c')
| -rw-r--r-- | src/editfns.c | 2 |
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 | } |