From a9ca51ff1aa4b444d842d5ad771bd6f0a65e5c5c Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 4 Apr 2007 00:30:18 +0000 Subject: [PATCH] . colors allocated henceforth from the resulting image overwrite the palette colors (sync with 2.0.34) (Rob Leslie) --- ext/gd/libgd/gd_topal.c | 1 + 1 file changed, 1 insertion(+) 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 } -- 2.50.1