format: fix bug for empty width and fdigits

When neither w and d weren't set, then k was ignored.

Signed-off-by: Daniel Kochmański <daniel@turtleware.eu>
This commit is contained in:
Daniel Kochmański 2015-08-03 16:11:32 +02:00
parent ab50a55fb1
commit 3f7fe751b3

View file

@ -1357,7 +1357,7 @@
(defun format-fixed-aux (stream number w d k ovf pad atsign)
(declare (si::c-local))
(cond
((or (not (or w d))
((or (not (or w d k))
#-ecl
(and (floatp number)
(or (float-infinity-p number)