From cd8d0410fd6fdf0fb62576d3f0961848ec1115a8 Mon Sep 17 00:00:00 2001 From: Moriyoshi Koizumi Date: Sat, 23 Nov 2002 11:26:13 +0000 Subject: [PATCH] Fixed tab positions # a bit too late to be notified :) --- ext/gd/gd.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ext/gd/gd.c b/ext/gd/gd.c index f9a48029e7..22ea92b9c1 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1814,12 +1814,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); -- 2.50.1