patch for libgd/gd.c (gdImageRotate90 x,y transposed)

From: Date: Fri, 10 Jan 2003 01:22:02 +0000
Subject: patch for libgd/gd.c (gdImageRotate90 x,y transposed)
Groups: php.dev 
Request: Send a blank email to php-dev+get-93293@lists.php.net to get a copy of this message
This function isn't making the new image with the right dimensions. # cvs diff ext/gd/libgd/gd.c Index: ext/gd/libgd/gd.c =================================================================== RCS file: /repository/php4/ext/gd/libgd/gd.c,v retrieving revision 1.39 diff -u -r1.39 gd.c --- ext/gd/libgd/gd.c 18 Dec 2002 21:13:21 -0000 1.39 +++ ext/gd/libgd/gd.c 10 Jan 2003 01:02:06 -0000 @@ -2492,10 +2492,10 @@ FuncPtr f; if (src->trueColor) { - dst = gdImageCreateTrueColor ( src->sx,src->sy); + dst = gdImageCreateTrueColor (src->sy, src->sx); f = gdImageGetTrueColorPixel; } else { - dst = gdImageCreate (src->sx, src->sy); + dst = gdImageCreate (src->sy, src->sx); f = gdImageGetPixel; }

« previous php.dev (#93293) next »