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? ]-


-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to