]> granicus.if.org Git - php/commitdiff
I could have sworn I test compiled this when I committed it a couple of
authorRasmus Lerdorf <rasmus@php.net>
Sun, 30 Sep 2001 04:42:08 +0000 (04:42 +0000)
committerRasmus Lerdorf <rasmus@php.net>
Sun, 30 Sep 2001 04:42:08 +0000 (04:42 +0000)
days ago.  Must have been hallucinating.

ext/gd/gd.c

index 7b2c03672e97cb10b9335e86b2356df0caf92d3a..a865b739054c166f767a013c910ab2b8bb8fd2cc 100644 (file)
@@ -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;
        }