diff options
-rw-r--r-- | ext/gd/libgd/gd.c | 1 |
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; |