rasmus Sun Oct 6 13:47:51 2002 EDT
Modified files:
/php4/ext/gd/libgd gd_topal.c
Log:
Fix for bug 19781
Index: php4/ext/gd/libgd/gd_topal.c
diff -u php4/ext/gd/libgd/gd_topal.c:1.6 php4/ext/gd/libgd/gd_topal.c:1.7
--- php4/ext/gd/libgd/gd_topal.c:1.6 Sun Oct 6 03:19:07 2002
+++ php4/ext/gd/libgd/gd_topal.c Sun Oct 6 13:47:50 2002
@@ -1558,7 +1558,7 @@
/* Do the work! */
zeroHistogram (cquantize->histogram);
prescan_quantize (im, cquantize);
- select_colors (im, cquantize, 256);
+ select_colors (im, cquantize, colorsWanted);
/* TBB HACK REMOVE */
#if 0
{
--
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php