(__printf_fp): Correct check for %F format when determining type of format.

This commit is contained in:
Ulrich Drepper 2002-03-11 21:28:56 +00:00
parent d6ecea7114
commit 1baa395910

View File

@ -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;