cvs: php4 /ext/gd/libgd gd_topal.c
| From: | Rasmus Lerdorf | Date: | Sun, 06 Oct 2002 17:47:51 +0000 |
| Subject: | cvs: php4 /ext/gd/libgd gd_topal.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-14626@lists.php.net to get a copy of this message | ||
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
{