diff options
author | Zeev Suraski <zeev@php.net> | 2001-08-05 01:43:02 +0000 |
---|---|---|
committer | Zeev Suraski <zeev@php.net> | 2001-08-05 01:43:02 +0000 |
commit | 1159c84ab7849099d4a717cd05c2d920102040ed (patch) | |
tree | ed4e48bb27e2ce5de5972fc3a29c1d24c818467a /ext/gd/gdttf.c | |
parent | fcc035108f7b8d2e169c5a592227b3df84d0573e (diff) | |
download | php-git-1159c84ab7849099d4a717cd05c2d920102040ed.tar.gz |
- TSRMLS_FETCH work
- whitespace fixes
Diffstat (limited to 'ext/gd/gdttf.c')
-rw-r--r-- | ext/gd/gdttf.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/ext/gd/gdttf.c b/ext/gd/gdttf.c index 0be895fb7b..89907c5d28 100644 --- a/ext/gd/gdttf.c +++ b/ext/gd/gdttf.c @@ -332,11 +332,12 @@ fontFetch ( char **error, void *key ) fontkey_t *b=(fontkey_t *)key; int i, n, map_found; short platform, encoding; + TSRMLS_FETCH(); a = (font_t *)malloc(sizeof(font_t)); #ifdef VIRTUAL_DIR /* a->fontname will be freed in fontRelease() later on */ - if (virtual_filepath(b->fontname, &a->fontname)) { + if (virtual_filepath(b->fontname, &a->fontname TSRMLS_CC)) { *error = "Could not find/open font"; return NULL; } |