]> granicus.if.org Git - php/commitdiff
. colors allocated henceforth from the resulting image overwrite
authorPierre Joye <pajoye@php.net>
Wed, 4 Apr 2007 00:30:18 +0000 (00:30 +0000)
committerPierre Joye <pajoye@php.net>
Wed, 4 Apr 2007 00:30:18 +0000 (00:30 +0000)
  the palette colors (sync with 2.0.34) (Rob Leslie)

ext/gd/libgd/gd_topal.c

index 2d7db8c73fa490140d8c60674d508ef38a163e40..d2cd13f5b9e0a0e06fad4df4d3ded7f70b0fbc09 100644 (file)
@@ -772,6 +772,7 @@ LOCAL (void)
       nim->green[icolor] = 255;
       nim->blue[icolor] = 255;
     }
+               nim->open[icolor] = 0;
 #endif
 }