From 42b7601378610a7cc7e8a4a7ec9498f03f3255c4 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 30 Sep 2001 04:43:19 +0000 Subject: [PATCH] MFH --- ext/gd/gd.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 389bf343b31ad..29be9bc8c4e17 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -1578,7 +1578,7 @@ PHP_FUNCTION(imagecolorat) ZEND_FETCH_RESOURCE(im, gdImagePtr, IM, -1, "Image", le_gd); #if HAVE_LIBGD20 - if(im->truecolor) { + if(im->trueColor) { php_error(E_WARNING, "ImageColorAt does not work on TrueColor images"); RETURN_FALSE; }