iliaa Wed Dec 4 11:29:48 2002 EDT Modified files: /php4/ext/gd gd.c Log: WS fixes. Index: php4/ext/gd/gd.c diff -u php4/ext/gd/gd.c:1.231 php4/ext/gd/gd.c:1.232 --- php4/ext/gd/gd.c:1.231 Tue Dec 3 21:48:23 2002 +++ php4/ext/gd/gd.c Wed Dec 4 11:29:48 2002 @@ -18,7 +18,7 @@ +----------------------------------------------------------------------+ */ -/* $Id: gd.c,v 1.231 2002/12/04 02:48:23 pajoye Exp $ */ +/* $Id: gd.c,v 1.232 2002/12/04 16:29:48 iliaa Exp $ */ /* gd 1.2 is copyright 1994, 1995, Quest Protein Database Center, Cold Spring Harbor Labs. */ @@ -1626,12 +1626,12 @@ } (*func_p)(im, q, tmp); break; - case PHP_GDIMG_TYPE_GD: - if(im->trueColor){ - gdImageTrueColorToPalette(im,1,256); - } - (*func_p)(im, tmp); - break; + case PHP_GDIMG_TYPE_GD: + if (im->trueColor) { + gdImageTrueColorToPalette(im,1,256); + } + (*func_p)(im, tmp); + break; default: (*func_p)(im, tmp); break;
-- PHP CVS Mailing List (http://www.php.net/) To unsubscribe, visit: http://www.php.net/unsub.php