aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2002-03-11 21:28:56 +0000
committerUlrich Drepper <drepper@redhat.com>2002-03-11 21:28:56 +0000
commit1baa39591033ec9b6d22f49424dce4b9b5ad38ba (patch)
treeeefb8ef429a8389786dad37b71ede1e645aa862c
parentd6ecea7114d63b1410e6f32ceb168283a06c5df5 (diff)
downloadglibc-1baa39591033ec9b6d22f49424dce4b9b5ad38ba.tar
glibc-1baa39591033ec9b6d22f49424dce4b9b5ad38ba.tar.gz
glibc-1baa39591033ec9b6d22f49424dce4b9b5ad38ba.tar.bz2
glibc-1baa39591033ec9b6d22f49424dce4b9b5ad38ba.zip
(__printf_fp): Correct check for %F format when determining type of format.
-rw-r--r--stdio-common/printf_fp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c
index 66a60846c8..746c5aac7e 100644
--- a/stdio-common/printf_fp.c
+++ b/stdio-common/printf_fp.c
@@ -806,7 +806,7 @@ __printf_fp (FILE *fp,
dig_max = INT_MAX; /* Unlimited. */
significant = 1; /* Does not matter here. */
}
- else if (info->spec == 'f')
+ else if (_tolower (info->spec) == 'f')
{
type = 'f';
fracdig_min = fracdig_max = info->prec < 0 ? 6 : info->prec;