]> git.ipfire.org Git - thirdparty/glibc.git/commitdiff
(__printf_fp): Correct check for %F format when determining type of format.
authorUlrich Drepper <drepper@redhat.com>
Mon, 11 Mar 2002 21:30:02 +0000 (21:30 +0000)
committerUlrich Drepper <drepper@redhat.com>
Mon, 11 Mar 2002 21:30:02 +0000 (21:30 +0000)
stdio-common/printf_fp.c

index 4c68c5edb381c52aa4fe7ab43eba17343e9a5cff..b21e0ddc237432c81239ca8d7e300a5335560519 100644 (file)
@@ -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;