summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPierre Joye <pajoye@php.net>2007-04-04 00:30:18 +0000
committerPierre Joye <pajoye@php.net>2007-04-04 00:30:18 +0000
commita9ca51ff1aa4b444d842d5ad771bd6f0a65e5c5c (patch)
tree0e92b79ed5d2af047774f1eb46cd7a500f37fd44
parent0c168b643c255404eec9d447e7f3749d8ebca2d1 (diff)
downloadphp-git-a9ca51ff1aa4b444d842d5ad771bd6f0a65e5c5c.tar.gz
. colors allocated henceforth from the resulting image overwrite
the palette colors (sync with 2.0.34) (Rob Leslie)
-rw-r--r--ext/gd/libgd/gd_topal.c1
1 files changed, 1 insertions, 0 deletions
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
}