Re: cvs: php4(PHP_4_3) /ext/gd gd.c
| From: | Derick Rethans | Date: | Sat, 23 Nov 2002 10:43:49 +0000 |
| Subject: | Re: cvs: php4(PHP_4_3) /ext/gd gd.c | ||
| References: | 1 | Groups: | php.cvs |
| Request: | Send a blank email to php-cvs+get-16576@lists.php.net to get a copy of this message | ||
On Sat, 23 Nov 2002, Moriyoshi Koizumi wrote:
> moriyoshi Sat Nov 23 00:20:43 2002 EDT
>
> Modified files: (Branch: PHP_4_3)
> /php4/ext/gd gd.c
> Log:
> MFH (imagecolordeallocate() fix)
>
>
> + #if HAVE_LIBGD20
> + /* We can return right away for a truecolor image as deallocating colours is meaningless here
> */
> + if (gdImageTrueColor(im)) {
> + RETURN_TRUE;
> + }
> + #endif
Preprocessor macro's should always be in the first column, otherwise
some compilers may choke on it.
regards,
Derick
>
--
---------------------------------------------------------------------------
Derick Rethans http://derickrethans.nl/
JDI Media Solutions
--------------[ if you hold a unix shell to your ear, do you hear the c? ]-