pajoye          Sun Feb 11 11:13:41 2007 UTC

  Modified files:              
    /php-src/ext/gd     gd.c 
  Log:
  - MFB: Fixed bug #40428, imagepstext() doesn't accept optional parameter
        (Pierre)
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/gd.c?r1=1.365&r2=1.366&diff_format=u
Index: php-src/ext/gd/gd.c
diff -u php-src/ext/gd/gd.c:1.365 php-src/ext/gd/gd.c:1.366
--- php-src/ext/gd/gd.c:1.365   Mon Jan  8 22:56:25 2007
+++ php-src/ext/gd/gd.c Sun Feb 11 11:13:40 2007
@@ -18,7 +18,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: gd.c,v 1.365 2007/01/08 22:56:25 nlopess Exp $ */
+/* $Id: gd.c,v 1.366 2007/02/11 11:13:40 pajoye Exp $ */
 
 /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center,
    Cold Spring Harbor Labs. */
@@ -3807,11 +3807,6 @@
        T1_TMATRIX *transform = NULL;
        char *str;
        int str_len;
-       int argc = ZEND_NUM_ARGS();
-
-       if (argc != 8 && argc != 12) {
-               ZEND_WRONG_PARAM_COUNT();
-       }
 
        if (zend_parse_parameters(ZEND_NUM_ARGS() TSRMLS_CC, "rsrlllll|lldl", 
&img, &str, &str_len, &fnt, &size, &_fg, &_bg, &x, &y, &space, &width, &angle, 
&aa_steps) == FAILURE) {
                return;

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

Reply via email to