]> granicus.if.org Git - php/commitdiff
MFH: add missing 'F' modified (noticed by Matt)
authorAntony Dovgal <tony2001@php.net>
Wed, 6 Dec 2006 14:47:36 +0000 (14:47 +0000)
committerAntony Dovgal <tony2001@php.net>
Wed, 6 Dec 2006 14:47:36 +0000 (14:47 +0000)
ext/standard/formatted_print.c

index bd9627720a5224362bd1c5be13542ee365d823cd..097095d03a7bca1a14969a83a52ec7dc8b2eb128 100644 (file)
@@ -227,6 +227,9 @@ php_sprintf_appenddouble(char **buffer, int *pos,
                        if (precision) {
                                precision--;
                        }
+               case 'F':
+                       fmt = 'f';
+                       /* break is missing */
                case 'E':
                case 'f':
                        s = ap_php_conv_fp(fmt, number, 0, precision,