From: Ulrich Drepper Date: Mon, 11 Mar 2002 21:30:02 +0000 (+0000) Subject: (__printf_fp): Correct check for %F format when determining type of format. X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=430081813ef66be3ae4444b3555cb1eecdccc30b;p=thirdparty%2Fglibc.git (__printf_fp): Correct check for %F format when determining type of format. --- diff --git a/stdio-common/printf_fp.c b/stdio-common/printf_fp.c index 4c68c5edb38..b21e0ddc237 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;