mirror of
git://git.sv.gnu.org/emacs.git
synced 2026-01-04 02:51:31 -08:00
(Fformat): Don't scan past end of format string that
ends in %. Reported by: Johan Bockgård.
This commit is contained in:
parent
12d10bc72b
commit
f5be4dfd96
1 changed files with 1 additions and 1 deletions
|
|
@ -3424,7 +3424,7 @@ usage: (format STRING &rest OBJECTS) */)
|
|||
digits to print after the '.' for floats, or the max.
|
||||
number of chars to print from a string. */
|
||||
|
||||
while (index ("-0# ", *format))
|
||||
while (*format && index ("-0# ", *format))
|
||||
++format;
|
||||
|
||||
if (*format >= '0' && *format <= '9')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue