[PHP-DEV] Bug #487: Incompatibility with GD 1.3 From: gfaieta <email protected>
Date: 06/28/98

From: gfaieta <email protected>
Operating system: Linux/x86 2.0.34
PHP version: 3.0 Final Release
PHP Bug Type: Misbehaving function
Bug description:
in file functions/gd.c, line 436

                RETURN_LONG(im->pixels[x->value.lval][y->value.lval]);

should be replaced by

#if HAVE_LIBGD13
                RETURN_LONG(im->pixels[y->value.lval][x->value.lval]);
#else
                RETURN_LONG(im->pixels[x->value.lval][y->value.lval]);
#endif

to make it compatible with gd 1.3