Pass pointers to pp and info when calling the new

png_destroy_read_struct() function.


git-svn-id: file:///fltk/svn/fltk/branches/branch-1.1@1689 ea41ed52-d2ee-0310-a9c1-e6b18d33e121
This commit is contained in:
Michael R Sweet 2001-11-17 15:59:53 +00:00
parent 406404de72
commit efbe74758f
2 changed files with 6 additions and 6 deletions

View File

@ -1,5 +1,5 @@
// //
// "$Id: Fl_File_Icon2.cxx,v 1.1.2.1 2001/11/17 15:27:15 easysw Exp $" // "$Id: Fl_File_Icon2.cxx,v 1.1.2.2 2001/11/17 15:59:53 easysw Exp $"
// //
// Fl_File_Icon system icon routines. // Fl_File_Icon system icon routines.
// //
@ -481,7 +481,7 @@ Fl_File_Icon::load_png(const char *png) // I - File to read from
# ifdef HAVE_PNG_READ_DESTROY # ifdef HAVE_PNG_READ_DESTROY
png_read_destroy(pp, info, NULL); png_read_destroy(pp, info, NULL);
# else # else
png_destroy_read_struct(pp, info, NULL); png_destroy_read_struct(&pp, &info, NULL);
# endif // HAVE_PNG_READ_DESTROY # endif // HAVE_PNG_READ_DESTROY
// Close the file and return... // Close the file and return...
@ -1020,5 +1020,5 @@ get_kde_val(char *str,
// //
// End of "$Id: Fl_File_Icon2.cxx,v 1.1.2.1 2001/11/17 15:27:15 easysw Exp $". // End of "$Id: Fl_File_Icon2.cxx,v 1.1.2.2 2001/11/17 15:59:53 easysw Exp $".
// //

View File

@ -1,5 +1,5 @@
// //
// "$Id: Fl_Help_View.cxx,v 1.1.2.10 2001/11/17 15:27:15 easysw Exp $" // "$Id: Fl_Help_View.cxx,v 1.1.2.11 2001/11/17 15:59:53 easysw Exp $"
// //
// Fl_Help_View widget routines. // Fl_Help_View widget routines.
// //
@ -3114,7 +3114,7 @@ Fl_Help_View::load_png(Fl_Help_Image *img,// I - Image pointer
# ifdef HAVE_PNG_READ_DESTROY # ifdef HAVE_PNG_READ_DESTROY
png_read_destroy(pp, info, NULL); png_read_destroy(pp, info, NULL);
# else # else
png_destroy_read_struct(pp, info, NULL); png_destroy_read_struct(&pp, &info, NULL);
# endif // HAVE_PNG_READ_DESTROY # endif // HAVE_PNG_READ_DESTROY
return (1); return (1);
@ -3581,5 +3581,5 @@ scrollbar_callback(Fl_Widget *s, void *)
// //
// End of "$Id: Fl_Help_View.cxx,v 1.1.2.10 2001/11/17 15:27:15 easysw Exp $". // End of "$Id: Fl_Help_View.cxx,v 1.1.2.11 2001/11/17 15:59:53 easysw Exp $".
// //