It looks like imageline() draws the line twice. RCS file: /repository/php4/ext/gd/gd.c,v retrieving revision 1.241 diff -u -r1.241 gd.c --- ext/gd/gd.c 31 Dec 2002 16:06:39 -0000 1.241 +++ ext/gd/gd.c 7 Jan 2003 21:54:37 -0000 @@ -2149,8 +2149,7 @@ else #endif gdImageLine(im, Z_LVAL_PP(x1), Z_LVAL_PP(y1), Z_LVAL_PP(x2), Z_LVAL_PP(y2), Z_LVAL_PP(col)); - - gdImageLine(im, Z_LVAL_PP(x1), Z_LVAL_PP(y1), Z_LVAL_PP(x2), Z_LVAL_PP(y2), Z_LVAL_PP(col)); + RETURN_TRUE; } /* }}} */
-- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php