diff options
| author | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-25 22:49:04 +0000 |
|---|---|---|
| committer | Jeroen van Wolffelaar <jeroen@php.net> | 2001-09-25 22:49:04 +0000 |
| commit | 6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5 (patch) | |
| tree | b2660d658d42d90c170552b76c11815afd03aed3 /ext/standard/formatted_print.c | |
| parent | 0ddd124d1d58f5f1094c8287e0f3905e6ab45d40 (diff) | |
| download | php-git-6cfba2a3ea0c59f63b8c225b2a0ff85194f432f5.tar.gz | |
2nd phase in back-substitution those macro's
I've got pretty much everything now...
Diffstat (limited to 'ext/standard/formatted_print.c')
| -rw-r--r-- | ext/standard/formatted_print.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/ext/standard/formatted_print.c b/ext/standard/formatted_print.c index d10de4d6f8..2dc49c0640 100644 --- a/ext/standard/formatted_print.c +++ b/ext/standard/formatted_print.c @@ -444,12 +444,12 @@ php_formatted_print(int ht, int *len, int use_array TSRMLS_DC) } } convert_to_string_ex(args[0]); - format = (*args[0])->value.str.val; + format = Z_STRVAL_PP(args[0]); result = emalloc(size); currarg = 1; - while (inpos<(*args[0])->value.str.len) { + while (inpos<Z_STRLEN_PP(args[0])) { int expprec = 0; PRINTF_DEBUG(("sprintf: format[%d]='%c'\n", inpos, format[inpos])); |
