summaryrefslogtreecommitdiff
path: root/ext/ming/ming.c
diff options
context:
space:
mode:
authorMarcus Boerger <helly@php.net>2003-07-02 21:37:46 +0000
committerMarcus Boerger <helly@php.net>2003-07-02 21:37:46 +0000
commit019d70e67af55da2a4837a2177a1aa84077c8f2f (patch)
treebfb3b1ebbe29cf9a3528a2e8a08d4ccfaaf64a03 /ext/ming/ming.c
parent49228bd5e284e509d6beb02df70948491f1235fe (diff)
downloadphp-git-019d70e67af55da2a4837a2177a1aa84077c8f2f.tar.gz
ZTS fix
Diffstat (limited to 'ext/ming/ming.c')
-rw-r--r--ext/ming/ming.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/ming/ming.c b/ext/ming/ming.c
index b69ffaf4e4..5360df3b7a 100644
--- a/ext/ming/ming.c
+++ b/ext/ming/ming.c
@@ -2386,7 +2386,7 @@ PHP_FUNCTION(swftext_addString)
if (ZEND_NUM_ARGS() != 1 || zend_get_parameters_ex(1, &s) == FAILURE) {
WRONG_PARAM_COUNT;
}
- if (!getFont(getText(getThis() TSRMLS_CC))) {
+ if (!getFont(getText(getThis() TSRMLS_CC) TSRMLS_CC)) {
php_error_docref(NULL TSRMLS_CC, E_WARNING, "You must specify a font before writing text.");
RETURN_FALSE;
}