changeset 71865:47930f9fbcdf

(Fformat): Fix calculation of text property positions of format string.
author Kenichi Handa <handa@m17n.org>
date Thu, 13 Jul 2006 06:03:33 +0000
parents b5cc4afb0853
children 216e2b811eed
files src/editfns.c
diffstat 1 files changed, 1 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- 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++;