Home  |  Linux  | Mysql  | PHP  | XML
From:Roberto Biancardi Date:Sat Mar 15 15:50:46 2003
Subject:4.3.2RC1: patch to compile with libgd < 2
--- ext/gd/gdttf.c.orig Sat Mar 15 22:38:28 2003
+++ ext/gd/gdttf.c      Sat Mar 15 22:42:42 2003
@@ -744,9 +744,13 @@
                        if (tweencolorkey.pixel > 0) {
                                x3 = x2 + col;
                                if (x3 >= im->sx || x3 < 0) continue;
+#if HAVE_LIBGD20
                                if (im->trueColor) {
                                        pixel = &im->tpixels[y3][x3];
                                } else {
+#else
+                               {
+#endif
 #if HAVE_LIBGD13
                                        pixel = &im->pixels[y3][x3];
 #else

-- 
--  Roberto Biancardi  --  
--


Navigate in group php.dev at sever news.php.net
Previous Next




  
© No Copyright
You are free to use Anything
Site Maintained by Zareef Ahmed
Powered By PHP Consultants