tony2001 Wed Dec 6 16:28:36 2006 UTC
Modified files: (Branch: PHP_5_2)
/php-src/ext/standard formatted_print.c
Log:
MFH
http://cvs.php.net/viewvc.cgi/php-src/ext/standard/formatted_print.c?r1=1.82.2.1.2.3&r2=1.82.2.1.2.4&diff_format=u
Index: php-src/ext/standard/formatted_print.c
diff -u php-src/ext/standard/formatted_print.c:1.82.2.1.2.3
php-src/ext/standard/formatted_print.c:1.82.2.1.2.4
--- php-src/ext/standard/formatted_print.c:1.82.2.1.2.3 Wed Dec 6 14:47:36 2006
+++ php-src/ext/standard/formatted_print.c Wed Dec 6 16:28:36 2006
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: formatted_print.c,v 1.82.2.1.2.3 2006/12/06 14:47:36 tony2001 Exp $ */
+/* $Id: formatted_print.c,v 1.82.2.1.2.4 2006/12/06 16:28:36 tony2001 Exp $ */
#include <math.h> /* modf() */
#include "php.h"
@@ -223,13 +223,13 @@
}
switch (fmt) {
+ case 'F':
+ fmt = 'f';
+ /* break is missing */
case 'e':
if (precision) {
precision--;
}
- case 'F':
- fmt = 'f';
- /* break is missing */
case 'E':
case 'f':
s = ap_php_conv_fp(fmt, number, 0, precision,
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php