cvs: php4 /ext/standard formatted_print.c
| From: | Ilia Alshanetsky | Date: | Sat, 26 Oct 2002 20:45:20 +0000 |
| Subject: | cvs: php4 /ext/standard formatted_print.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-15480@lists.php.net to get a copy of this message | ||
iliaa Sat Oct 26 16:45:20 2002 EDT
Modified files:
/php4/ext/standard formatted_print.c
Log:
Fixed bug #20108.
Index: php4/ext/standard/formatted_print.c
diff -u php4/ext/standard/formatted_print.c:1.57 php4/ext/standard/formatted_print.c:1.58
--- php4/ext/standard/formatted_print.c:1.57 Tue Oct 15 08:07:36 2002
+++ php4/ext/standard/formatted_print.c Sat Oct 26 16:45:17 2002
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: formatted_print.c,v 1.57 2002/10/15 12:07:36 iliaa Exp $ */
+/* $Id: formatted_print.c,v 1.58 2002/10/26 20:45:17 iliaa Exp $ */
#include <math.h> /* modf() */
#include "php.h"
@@ -605,10 +605,10 @@
convert_to_string_ex(args[argnum]);
php_sprintf_appendstring(&result, &outpos, &size,
Z_STRVAL_PP(args[argnum]),
- width, precision, padding,
+ width, 0, padding,
alignment,
Z_STRLEN_PP(args[argnum]),
- 0, expprec);
+ 0, 0);
break;
case 'd':