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:
parent
745575ff14
commit
8f2c9ed8c9
1 changed files with 4 additions and 2 deletions
|
|
@ -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]))
|
||||
{
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue