Commit 901fd47f authored by Nick Lamb /GIMP's avatar Nick Lamb /GIMP
Browse files

Possible fix for #22805

parent e4b03193
2000-09-15 Nick Lamb <njl195@zepler.org.uk>
* plug-ins/common/png.c: possible fix for #22805
2000-09-14 Jay Cox <jaycox@gimp.org> 2000-09-14 Jay Cox <jaycox@gimp.org>
   
* app/pixel_processor.c: fix bug #24188. * app/pixel_processor.c: fix bug #24188.
......
...@@ -998,9 +998,9 @@ save_ok_callback (GtkWidget *widget, ...@@ -998,9 +998,9 @@ save_ok_callback (GtkWidget *widget,
tRNS chunk when saving GIF-like transparent images with colormaps */ tRNS chunk when saving GIF-like transparent images with colormaps */
static void respin_cmap (png_structp pp, png_infop info, gint32 image_ID) { static void respin_cmap (png_structp pp, png_infop info, gint32 image_ID) {
static const guchar trans[] = { 0 };
static guchar after[3 * 256]; static guchar after[3 * 256];
gint colors; gint colors;
guchar trans[] = { 0 };
guchar *before; guchar *before;
before= gimp_image_get_cmap(image_ID, &colors); before= gimp_image_get_cmap(image_ID, &colors);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment