diff options
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 5 | ||||
| -rw-r--r-- | src/editfns.c | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/src/ChangeLog b/src/ChangeLog index d45831da762..827abe51c57 100644 --- a/src/ChangeLog +++ b/src/ChangeLog | |||
| @@ -1,3 +1,8 @@ | |||
| 1 | 2006-07-13 Kenichi Handa <handa@m17n.org> | ||
| 2 | |||
| 3 | * editfns.c (Fformat): Fix calculation of text property positions | ||
| 4 | of format string. | ||
| 5 | |||
| 1 | 2006-07-12 Kim F. Storm <storm@cua.dk> | 6 | 2006-07-12 Kim F. Storm <storm@cua.dk> |
| 2 | 7 | ||
| 3 | * lisp.h (CHECK_TYPE): New macro for generic type checking. | 8 | * lisp.h (CHECK_TYPE): New macro for generic type checking. |
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) */) | |||
| 3886 | /* Likewise adjust the property end position. */ | 3886 | /* Likewise adjust the property end position. */ |
| 3887 | pos = XINT (XCAR (XCDR (item))); | 3887 | pos = XINT (XCAR (XCDR (item))); |
| 3888 | 3888 | ||
| 3889 | for (; bytepos < pos; bytepos++) | 3889 | for (; position < pos; bytepos++) |
| 3890 | { | 3890 | { |
| 3891 | if (! discarded[bytepos]) | 3891 | if (! discarded[bytepos]) |
| 3892 | position++, translated++; | 3892 | position++, translated++; |