1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-04-20 13:00:51 -07:00

(Fformat): Don't include string padding

between info[n].start and info[n].end.
This commit is contained in:
Richard M. Stallman 2005-10-28 16:26:45 +00:00
parent 745575ff14
commit 8f2c9ed8c9

View file

@ -3662,7 +3662,7 @@ usage: (format STRING &rest OBJECTS) */)
++nchars;
}
start = nchars;
info[n].start = start = nchars;
nchars += nchars_string;
end = nchars;
@ -3677,6 +3677,8 @@ usage: (format STRING &rest OBJECTS) */)
nbytes,
STRING_MULTIBYTE (args[n]), multibyte);
info[n].end = nchars;
if (negative)
while (padding-- > 0)
{
@ -3713,9 +3715,9 @@ usage: (format STRING &rest OBJECTS) */)
else
p += this_nchars;
nchars += this_nchars;
info[n].end = nchars;
}
info[n].end = nchars;
}
else if (STRING_MULTIBYTE (args[0]))
{