From: Pierre Joye Date: Tue, 7 Jan 2003 22:34:00 +0000 (+0000) Subject: Fix line drawed twice (L. Atkinson) X-Git-Tag: PHP_5_0_dev_before_13561_fix~392 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9999190c6220a2105a571be8454134cb4a5c25e;p=php Fix line drawed twice (L. Atkinson) --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 17493aa219..0a367e5a34 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -2149,8 +2149,6 @@ PHP_FUNCTION(imageline) 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; } /* }}} */