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: [EMAIL PROTECTED]                                              |
    +----------------------------------------------------------------------+
    
-  $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;
        }



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to