mirror of
https://github.com/php/php-src.git
synced 2024-11-25 19:05:31 +08:00
Fixed tab positions.
This commit is contained in:
parent
40d605a385
commit
715ad2730c
@ -1867,12 +1867,12 @@ PHP_FUNCTION(imagecolordeallocate)
|
||||
|
||||
ZEND_FETCH_RESOURCE(im, gdImagePtr, IM, -1, "Image", le_gd);
|
||||
|
||||
#if HAVE_LIBGD20
|
||||
# if HAVE_LIBGD20
|
||||
/* We can return right away for a truecolor image as deallocating colours is meaningless here */
|
||||
if (gdImageTrueColor(im)) {
|
||||
RETURN_TRUE;
|
||||
}
|
||||
#endif
|
||||
# endif
|
||||
|
||||
convert_to_long_ex(index);
|
||||
col = Z_LVAL_PP(index);
|
||||
|
Loading…
Reference in New Issue
Block a user