cvs: php4 /ext/gd/libgd gd.c
| From: | Ilia Alshanetsky | Date: | Fri, 10 Jan 2003 02:00:41 +0000 |
| Subject: | cvs: php4 /ext/gd/libgd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-17781@lists.php.net to get a copy of this message | ||
iliaa Thu Jan 9 21:00:41 2003 EDT
Modified files:
/php4/ext/gd/libgd gd.c
Log:
Fixed ImageRotate when rotation angle is 90 degrees, patch by
leon@leonatkinson.com.
Index: php4/ext/gd/libgd/gd.c
diff -u php4/ext/gd/libgd/gd.c:1.39 php4/ext/gd/libgd/gd.c:1.40
--- php4/ext/gd/libgd/gd.c:1.39 Wed Dec 18 16:13:21 2002
+++ php4/ext/gd/libgd/gd.c Thu Jan 9 21:00:39 2003
@@ -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;
}