Commit 8f2c9ed8 authored by Richard M. Stallman's avatar Richard M. Stallman
Browse files

(Fformat): Don't include string padding

between info[n].start and info[n].end.
parent 745575ff
......@@ -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]))
{
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment