From 94d789e5d7016ba84da9897eec7388c9ea6f0df8 Mon Sep 17 00:00:00 2001 From: Rasmus Lerdorf Date: Sun, 30 Sep 2001 04:42:08 +0000 Subject: [PATCH] I could have sworn I test compiled this when I committed it a couple of days ago. Must have been hallucinating. --- 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 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; } -- 2.40.0