diff options
author | Kenichi Handa <handa@m17n.org> | 2006-07-13 06:06:45 +0000 |
---|---|---|
committer | Kenichi Handa <handa@m17n.org> | 2006-07-13 06:06:45 +0000 |
commit | d40ec4a023ec50eb087323b427644663b054c0f0 (patch) | |
tree | ea42720da01ccdaa34ad19b99c1b00a7cb41a27f /src/editfns.c | |
parent | 6991960bf796139833ccc6158c745f9a8ca03aef (diff) | |
download | emacs-d40ec4a023ec50eb087323b427644663b054c0f0.tar.gz |
(Fformat): Fix calculation of text property positions
of format string.
Diffstat (limited to 'src/editfns.c')
-rw-r--r-- | src/editfns.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/editfns.c b/src/editfns.c index 98a42855ba5..cf37c10a9d5 100644 --- a/src/editfns.c +++ b/src/editfns.c @@ -3886,7 +3886,7 @@ usage: (format STRING &rest OBJECTS) */) /* Likewise adjust the property end position. */ pos = XINT (XCAR (XCDR (item))); - for (; bytepos < pos; bytepos++) + for (; position < pos; bytepos++) { if (! discarded[bytepos]) position++, translated++; |