# HG changeset patch # User Richard M. Stallman # Date 1130516805 0 # Node ID 8392b2926dd8d8860e8dd3c8d76a4dab75413dfb # Parent 0e243de6311b98ff8e0915c04665ad62352907a7 (Fformat): Don't include string padding between info[n].start and info[n].end. diff -r 0e243de6311b -r 8392b2926dd8 src/editfns.c --- a/src/editfns.c Fri Oct 28 16:25:37 2005 +0000 +++ b/src/editfns.c Fri Oct 28 16:26:45 2005 +0000 @@ -3662,7 +3662,7 @@ ++nchars; } - start = nchars; + info[n].start = start = nchars; nchars += nchars_string; end = nchars; @@ -3677,6 +3677,8 @@ nbytes, STRING_MULTIBYTE (args[n]), multibyte); + info[n].end = nchars; + if (negative) while (padding-- > 0) { @@ -3713,9 +3715,9 @@ else p += this_nchars; nchars += this_nchars; + info[n].end = nchars; } - info[n].end = nchars; } else if (STRING_MULTIBYTE (args[0])) {