mirror of
https://sourceware.org/git/glibc.git
synced 2024-12-23 03:10:05 +00:00
(__printf_fp): Correct check for %F format when determining type of format.
This commit is contained in:
parent
d6ecea7114
commit
1baa395910
@ -806,7 +806,7 @@ __printf_fp (FILE *fp,
|
|||||||
dig_max = INT_MAX; /* Unlimited. */
|
dig_max = INT_MAX; /* Unlimited. */
|
||||||
significant = 1; /* Does not matter here. */
|
significant = 1; /* Does not matter here. */
|
||||||
}
|
}
|
||||||
else if (info->spec == 'f')
|
else if (_tolower (info->spec) == 'f')
|
||||||
{
|
{
|
||||||
type = 'f';
|
type = 'f';
|
||||||
fracdig_min = fracdig_max = info->prec < 0 ? 6 : info->prec;
|
fracdig_min = fracdig_max = info->prec < 0 ? 6 : info->prec;
|
||||||
|
Loading…
Reference in New Issue
Block a user