float fraction field printing fixed when zeros stay after separator
This commit is contained in:
parent
15a6bc0ef7
commit
518bfe1ed7
@ -293,6 +293,7 @@ static int pfn_double(va_list *va, FmtWord *fmt, char *outbuf, size_t free_space
|
|||||||
*outbuf = '0';
|
*outbuf = '0';
|
||||||
outbuf++;
|
outbuf++;
|
||||||
free_space--;
|
free_space--;
|
||||||
|
sum_copy_len++;
|
||||||
*outbuf = '\0';
|
*outbuf = '\0';
|
||||||
leading_zeros_printed++;
|
leading_zeros_printed++;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user