From 5e429447b11391ae38369e31e7ae5c81f81d881f Mon Sep 17 00:00:00 2001 From: foobar Date: Sat, 23 Nov 2002 19:20:44 +0000 Subject: [PATCH] ws fix --- 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 41f4991bc6..f2bee0bd45 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -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); -- 2.50.1