From: Rasmus Lerdorf Date: Sun, 30 Sep 2001 04:42:08 +0000 (+0000) Subject: I could have sworn I test compiled this when I committed it a couple of X-Git-Tag: php4~18 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=94d789e5d7016ba84da9897eec7388c9ea6f0df8;p=php I could have sworn I test compiled this when I committed it a couple of days ago. Must have been hallucinating. --- diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 7b2c03672e..a865b73905 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; }