From 02f5db029d7479c82ea52c5cfd622d2dba9fe4ef Mon Sep 17 00:00:00 2001 From: Pierre Joye Date: Wed, 4 Apr 2007 00:41:08 +0000 Subject: [PATCH] - MFB: 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 2d7db8c73fa..d2cd13f5b9e 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 }