# HG changeset patch # User Kenichi Handa # Date 1152770613 0 # Node ID 47930f9fbcdf75ab6501c496dc00d454a5838306 # Parent b5cc4afb08538f7130fb91ed92ab4e3995c5cbd6 (Fformat): Fix calculation of text property positions of format string. diff -r b5cc4afb0853 -r 47930f9fbcdf src/editfns.c --- a/src/editfns.c Wed Jul 12 23:52:18 2006 +0000 +++ b/src/editfns.c Thu Jul 13 06:03:33 2006 +0000 @@ -3886,7 +3886,7 @@ /* Likewise adjust the property end position. */ pos = XINT (XCAR (XCDR (item))); - for (; bytepos < pos; bytepos++) + for (; position < pos; bytepos++) { if (! discarded[bytepos]) position++, translated++;