]> granicus.if.org Git - php/commitdiff
Fix line drawed twice (L. Atkinson)
authorPierre Joye <pajoye@php.net>
Tue, 7 Jan 2003 22:34:00 +0000 (22:34 +0000)
committerPierre Joye <pajoye@php.net>
Tue, 7 Jan 2003 22:34:00 +0000 (22:34 +0000)
ext/gd/gd.c

index 17493aa2192741d1e2086e479a5adfe764c34069..0a367e5a34c597a34f487c94be3464985d6eeb04 100644 (file)
@@ -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;
 }
 /* }}} */