imageline drawing twice
| From: | Leon Atkinson | Date: | Tue, 07 Jan 2003 22:15:40 +0000 |
| Subject: | imageline drawing twice | ||
| Groups: | php.dev | ||
| Request: | Send a blank email to php-dev+get-93242@lists.php.net to get a copy of this message | ||
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;
}
/* }}} */