Re: cvs: php4(PHP_4_3) /ext/gd gd.c

From: Date: Sat, 23 Nov 2002 11:20:35 +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-16577@lists.php.net to get a copy of this message
Ah, I also supposed it should be like # if HAVE_LIBGD20 but the patch to HEAD seemed ok, so I had it merged in copy'n'paste way. I'm going to fix them soon. Thanks, Moriyoshi Derick Rethans <derick@php.net> wrote: > 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? ]- >

« previous php.cvs (#16577) next »