From: Pierre Joye Date: Wed, 4 Apr 2007 00:30:18 +0000 (+0000) Subject: . colors allocated henceforth from the resulting image overwrite X-Git-Tag: php-5.2.2RC1~60 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a9ca51ff1aa4b444d842d5ad771bd6f0a65e5c5c;p=php . colors allocated henceforth from the resulting image overwrite the palette colors (sync with 2.0.34) (Rob Leslie) --- diff --git a/ext/gd/libgd/gd_topal.c b/ext/gd/libgd/gd_topal.c index 2d7db8c73f..d2cd13f5b9 100644 --- a/ext/gd/libgd/gd_topal.c +++ b/ext/gd/libgd/gd_topal.c @@ -772,6 +772,7 @@ LOCAL (void) nim->green[icolor] = 255; nim->blue[icolor] = 255; } + nim->open[icolor] = 0; #endif }