cvs: gd /libgd gd.c

[email protected] ("Pierre-Alain Joye")
Newsgroups php.gd.cvs
Message-ID <cvspajoye1162988605@cvsserver>
pajoye		Wed Nov  8 12:23:25 2006 UTC

  Modified files:              
    /gd/libgd	gd.c 
  Log:
  - #7, gdImageCopy does not respect alpha (2/2)
  
  
http://cvs.php.net/viewvc.cgi/gd/libgd/gd.c?r1=1.35&r2=1.36&diff_format=u
Index: gd/libgd/gd.c
diff -u gd/libgd/gd.c:1.35 gd/libgd/gd.c:1.36
--- gd/libgd/gd.c:1.35	Tue Oct 10 00:40:41 2006
+++ gd/libgd/gd.c	Wed Nov  8 12:23:24 2006
@@ -1,4 +1,4 @@
-/* $Id: gd.c,v 1.35 2006/10/10 00:40:41 pajoye Exp $ */
+/* $Id: gd.c,v 1.36 2006/11/08 12:23:24 pajoye Exp $ */
 #ifdef HAVE_CONFIG_H
 #include "config.h"
 #endif
@@ -940,7 +940,7 @@
     {
       return gdTrueColorAlpha (im->red[p], im->green[p], im->blue[p],
 			       (im->transparent == p) ? gdAlphaTransparent :
-			       gdAlphaOpaque);
+			       im->alpha[p]);
     }
   else
     {
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.