I have committed this, sort of anyway. I moved the check up as there is really no reason to go through and even try to do the deallocate on a truecolour image.
-Rasmus On Sat, 23 Nov 2002, Moriyoshi Koizumi wrote: > Hi, > > This tiny patch prevents the warnings when applying imagecolordeallocate() > on true colour values. I suppose this new behaviour would be more > consistent because we can use imagecolorallocate() with true colour images. > > Then what do you guys think about this issue? > > Moriyoshi > > -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, visit: http://www.php.net/unsub.php