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

index bd9627720a5224362bd1c5be13542ee365d823cd..567655e954787554acd60fb3d8761bbb787c1355 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,