diff options
Diffstat (limited to 'graphics/gd2/files/patch-gd.c')
-rw-r--r-- | graphics/gd2/files/patch-gd.c | 27 |
1 files changed, 0 insertions, 27 deletions
diff --git a/graphics/gd2/files/patch-gd.c b/graphics/gd2/files/patch-gd.c deleted file mode 100644 index 2ed96f1..0000000 --- a/graphics/gd2/files/patch-gd.c +++ /dev/null @@ -1,27 +0,0 @@ ---- gd.c.orig Sat Mar 29 17:25:42 2003 -+++ gd.c Wed May 14 16:46:34 2003 -@@ -2696,6 +2696,16 @@ - void - gdImagePolygon (gdImagePtr im, gdPointPtr p, int n, int c) - { -+ if (!n) { -+ return; -+ } -+ gdImageLine(im, p->x, p->y, p[n-1].x, p[n-1].y, c); -+ gdImageOpenPolygon(im, p, n, c); -+} -+ -+void -+gdImageOpenPolygon (gdImagePtr im, gdPointPtr p, int n, int c) -+{ - int i; - int lx, ly; - if (!n) -@@ -2710,7 +2720,6 @@ - - lx = p->x; - ly = p->y; -- gdImageLine (im, lx, ly, p[n - 1].x, p[n - 1].y, c); - for (i = 1; (i < n); i++) - { - p++; |