applied a patch from S. Mukund that fixes a problem with newer versions of
2003-07-07 Sven Neumann <sven@gimp.org> * plug-ins/common/mng.c: applied a patch from S. Mukund that fixes a problem with newer versions of libmng (bug #115544).
This commit is contained in:

committed by
Sven Neumann

parent
8a6b5d0df8
commit
6b99ae0405
@ -1,3 +1,8 @@
|
||||
2003-07-07 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* plug-ins/common/mng.c: applied a patch from S. Mukund that fixes
|
||||
a problem with newer versions of libmng (bug #115544).
|
||||
|
||||
2003-07-07 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/gui/Makefile.am
|
||||
|
@ -472,19 +472,6 @@ mng_save_image (const gchar *filename,
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* For now, we hardwire a comment */
|
||||
|
||||
if ((ret =
|
||||
mng_putchunk_text (handle, strlen (MNG_TEXT_TITLE), MNG_TEXT_TITLE, 22,
|
||||
"Created using The GIMP")) != MNG_NOERROR)
|
||||
{
|
||||
g_warning ("Unable to mng_putchunk_text() in mng_save_image()");
|
||||
mng_cleanup (&handle);
|
||||
fclose (userdata->fp);
|
||||
g_free (userdata);
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ((num_layers > 1) && (mng_data.loop))
|
||||
{
|
||||
if ((ret =
|
||||
@ -519,6 +506,19 @@ mng_save_image (const gchar *filename,
|
||||
}
|
||||
|
||||
|
||||
/* For now, we hardwire a comment */
|
||||
|
||||
if ((ret =
|
||||
mng_putchunk_text (handle, strlen (MNG_TEXT_TITLE), MNG_TEXT_TITLE, 22,
|
||||
"Created using The GIMP")) != MNG_NOERROR)
|
||||
{
|
||||
g_warning ("Unable to mng_putchunk_text() in mng_save_image()");
|
||||
mng_cleanup (&handle);
|
||||
fclose (userdata->fp);
|
||||
g_free (userdata);
|
||||
return 0;
|
||||
}
|
||||
|
||||
/* how do we get this to work?
|
||||
|
||||
if (mng_data.bkgd)
|
||||
|
Reference in New Issue
Block a user