From: Dmitry Stogov Date: Mon, 15 Aug 2005 07:19:10 +0000 (+0000) Subject: Fixed var_dump() identation bug X-Git-Tag: PRE_NEW_OCI8_EXTENSION~256 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=fbf888029234af9413ddf2ede43465e8a63663ea;p=php Fixed var_dump() identation bug --- diff --git a/main/spprintf.c b/main/spprintf.c index 1b0166d8e3..4d22e968cc 100644 --- a/main/spprintf.c +++ b/main/spprintf.c @@ -782,7 +782,7 @@ fmt_error: *--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++;