diff options
| author | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-05-30 13:50:09 +0000 |
|---|---|---|
| committer | Moriyoshi Koizumi <moriyoshi@php.net> | 2003-05-30 13:50:09 +0000 |
| commit | be18fcec6b68080acf4be933d07d12f80b9bae00 (patch) | |
| tree | 9a4077f3b0a43962c2fa5b835ee946695a82e65e /ext | |
| parent | 0bf1fb6f19461c11d615af8c5cc581d3da6171fa (diff) | |
| download | php-git-be18fcec6b68080acf4be933d07d12f80b9bae00.tar.gz | |
MFH(r-1.67): fixed bug #23894 (sprintf() decimal specifiers problem)
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/standard/formatted_print.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index b9a26d4319..ebf675898a 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -185,6 +185,7 @@ php_sprintf_appendstring(char **buffer, int *pos, int *size, char *add, (*buffer)[(*pos)++] = '-'; add++; len--; + copy_len--; } while (npad-- > 0) { (*buffer)[(*pos)++] = padding; |
