summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRasmus Lerdorf <rasmus@php.net>2002-10-06 08:35:22 +0000
committerRasmus Lerdorf <rasmus@php.net>2002-10-06 08:35:22 +0000
commit731943287f678d6410680eadc957029a1b25070e (patch)
treebb4b29ff8de77db54db34705f8bda7e83323d5d1
parent409620351f09b6e2b891a4bc34f0f0e671985ac5 (diff)
downloadphp-git-731943287f678d6410680eadc957029a1b25070e.tar.gz
Oops
-rw-r--r--ext/gd/libgd/gd.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c
index 0b0ccab950..fa37e37b4d 100644
--- a/ext/gd/libgd/gd.c
+++ b/ext/gd/libgd/gd.c
@@ -1739,6 +1739,7 @@ gdImageCopy (gdImagePtr dst, gdImagePtr src, int dstX, int dstY, int srcX, int s
/* Destination is palette based */
if (src->trueColor) { /* But source is truecolor (Ouch!) */
+ toy = dstY;
for (y = srcY; (y < (srcY + h)); y++)
{
tox = dstX;