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
  [EMAIL PROTECTED]
  
  
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;
        }
 



-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to