fix Nick's embarassing bug found by tigert
-Yosh
This commit is contained in:
@ -1,3 +1,7 @@
|
|||||||
|
Tue Apr 25 03:52:43 PDT 2000 Manish Singh <yosh@gimp.org>
|
||||||
|
|
||||||
|
* plug-ins/common/png.c: fix Nick's embarassing bug found by tigert
|
||||||
|
|
||||||
2000-04-25 Nick Lamb <njl195@zepler.org.uk>
|
2000-04-25 Nick Lamb <njl195@zepler.org.uk>
|
||||||
|
|
||||||
* plug-ins/common/png.c: Sidestep potential problems when a
|
* plug-ins/common/png.c: Sidestep potential problems when a
|
||||||
|
@ -713,7 +713,7 @@ save_image (gchar *filename, /* I - File to save to */
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
#if PNG_LIBPNG_VER > 88
|
#if PNG_LIBPNG_VER > 88
|
||||||
pp = png_create_read_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
|
pp = png_create_write_struct(PNG_LIBPNG_VER_STRING, NULL, NULL, NULL);
|
||||||
info = png_create_info_struct(pp);
|
info = png_create_info_struct(pp);
|
||||||
#else
|
#else
|
||||||
pp = (png_structp)calloc(sizeof(png_struct), 1);
|
pp = (png_structp)calloc(sizeof(png_struct), 1);
|
||||||
|
Reference in New Issue
Block a user