summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorfoobar <sniper@php.net>2001-06-11 15:22:10 +0000
committerfoobar <sniper@php.net>2001-06-11 15:22:10 +0000
commitb52d710e367f6ac80fdb075934ec9c35c7302aaa (patch)
tree5baabc68f1c0587a8a090f3d765f521bba504c15
parente28b6a13fd656ea4990def409078e6c5f21230a4 (diff)
downloadphp-git-b52d710e367f6ac80fdb075934ec9c35c7302aaa.tar.gz
MFH (this caused segfault)
-rw-r--r--ext/gd/gd.c2
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)));