cvs: php4 /ext/gd gdttf.c

From: Date: Thu, 01 May 2003 23:50:08 +0000
Subject: cvs: php4 /ext/gd gdttf.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-20636@lists.php.net to get a copy of this message
sniper Thu May 1 19:50:08 2003 EDT Modified files: /php4/ext/gd gdttf.c Log: - Fixed bug #23427 (compile failure with GD 1.8.3) Index: php4/ext/gd/gdttf.c diff -u php4/ext/gd/gdttf.c:1.18 php4/ext/gd/gdttf.c:1.19 --- php4/ext/gd/gdttf.c:1.18 Sat Mar 8 13:27:12 2003 +++ php4/ext/gd/gdttf.c Thu May 1 19:50:08 2003 @@ -2,7 +2,7 @@ /* */ /* John Ellson ellson@lucent.com */ -/* $Id: gdttf.c,v 1.18 2003/03/08 18:27:12 derick Exp $ */ +/* $Id: gdttf.c,v 1.19 2003/05/01 23:50:08 sniper Exp $ */ #include "php.h" @@ -744,9 +744,12 @@ 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

« previous php.cvs (#20636) next »