dmitry Mon Aug 15 03:19:11 2005 EDT
Modified files:
/php-src/main spprintf.c
Log:
Fixed var_dump() identation bug
http://cvs.php.net/diff.php/php-src/main/spprintf.c?r1=1.30&r2=1.31&ty=u
Index: php-src/main/spprintf.c
diff -u php-src/main/spprintf.c:1.30 php-src/main/spprintf.c:1.31
--- php-src/main/spprintf.c:1.30 Sun Aug 14 17:04:52 2005
+++ php-src/main/spprintf.c Mon Aug 15 03:19:10 2005
@@ -16,7 +16,7 @@
+----------------------------------------------------------------------+
*/
-/* $Id: spprintf.c,v 1.30 2005/08/14 21:04:52 helly Exp $ */
+/* $Id: spprintf.c,v 1.31 2005/08/15 07:19:10 dmitry Exp $ */
/* This is the spprintf implementation.
* It has emerged from apache snprintf. See original header:
@@ -782,7 +782,7 @@
*--s = prefix_char;
s_len++;
}
- if (adjust_width && adjust == RIGHT && min_width >
u_len) {
+ if (adjust_width && adjust == RIGHT && min_width >
s_len) {
if (pad_char == '0' && prefix_char != NUL) {
INS_CHAR(unicode, xbuf, *s);
s++;
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php