mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-02-21 12:27:33 +00:00
(Fformat): Increment total for size of control string.
This commit is contained in:
parent
98fc5c3c8e
commit
fb893977d6
1 changed files with 3 additions and 0 deletions
|
|
@ -1879,6 +1879,9 @@ Use %% to put a single % into the output.")
|
|||
strings[i++] = XSTRING (args[n])->data;
|
||||
}
|
||||
|
||||
/* Make room in result for all the non-%-codes in the control string. */
|
||||
total += XSTRING (args[0])->size;
|
||||
|
||||
/* Format it in bigger and bigger buf's until it all fits. */
|
||||
while (1)
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in a new issue