cvs: php-src /ext/ming ming.c
| From: | Marcus Boerger | Date: | Wed, 02 Jul 2003 21:37:45 +0000 |
| Subject: | cvs: php-src /ext/ming ming.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-22329@lists.php.net to get a copy of this message | ||
helly Wed Jul 2 17:37:45 2003 EDT
Modified files:
/php-src/ext/ming ming.c
Log:
ZTS fix
Index: php-src/ext/ming/ming.c
diff -u php-src/ext/ming/ming.c:1.48 php-src/ext/ming/ming.c:1.49
--- php-src/ext/ming/ming.c:1.48 Tue Jul 1 22:03:59 2003
+++ php-src/ext/ming/ming.c Wed Jul 2 17:37:45 2003
@@ -15,7 +15,7 @@
| Author: dave@opaque.net |
+----------------------------------------------------------------------+
- $Id: ming.c,v 1.48 2003/07/02 02:03:59 iliaa Exp $
+ $Id: ming.c,v 1.49 2003/07/02 21:37:45 helly Exp $
*/
@@ -2386,7 +2386,7 @@
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;
}