Bug fix: %f did not work, if no width was specified
This commit is contained in:
parent
f78cbc818f
commit
d35a16c30f
1 changed files with 1 additions and 0 deletions
|
@ -218,6 +218,7 @@ union ptr_union *argp; /* our argument list */
|
|||
case 'f': {
|
||||
register char *c = buffer;
|
||||
|
||||
if (!widflag) width = 127;
|
||||
if (width >= 128) width = 127;
|
||||
if (width && (ic == '+' || ic == '-')) {
|
||||
*c++ = ic;
|
||||
|
|
Loading…
Reference in a new issue