diff options
author | foobar <sniper@php.net> | 2001-06-11 15:22:10 +0000 |
---|---|---|
committer | foobar <sniper@php.net> | 2001-06-11 15:22:10 +0000 |
commit | b52d710e367f6ac80fdb075934ec9c35c7302aaa (patch) | |
tree | 5baabc68f1c0587a8a090f3d765f521bba504c15 | |
parent | e28b6a13fd656ea4990def409078e6c5f21230a4 (diff) | |
download | php-git-b52d710e367f6ac80fdb075934ec9c35c7302aaa.tar.gz |
MFH (this caused segfault)
-rw-r--r-- | ext/gd/gd.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/gd.c b/ext/gd/gd.c index 9fa84fcbb6..68e124389d 100644 --- a/ext/gd/gd.c +++ b/ext/gd/gd.c @@ -532,7 +532,7 @@ PHP_FUNCTION(imagesetstyle) } ZEND_FETCH_RESOURCE(im, gdImagePtr, IM, -1, "Image", le_gd); - convert_to_array_ex(dither); + convert_to_array_ex(styles); /* copy the style values in the stylearr */ stylearr = emalloc(sizeof(int) * zend_hash_num_elements(HASH_OF(*styles))); |