4.3.2RC1: patch to compile with libgd < 2
[email protected] (Roberto Biancardi) Sat, 15 Mar 2003 23:50:46 +0100
| Newsgroups | php.dev |
|---|---|
| Organization | Xware Software Systems [Quality Software Since 1991] |
| Message-ID | <[email protected]> |
--- 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 --
--