From efbe74758f28328ed734735cf0d5a631e7e28193 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 17 Nov 2001 15:59:53 +0000 Subject: [PATCH] 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 --- src/Fl_File_Icon2.cxx | 6 +++--- src/Fl_Help_View.cxx | 6 +++--- 2 files changed, 6 insertions(+), 6 deletions(-) diff --git a/src/Fl_File_Icon2.cxx b/src/Fl_File_Icon2.cxx index 2823ea6b1..1c916d2c5 100644 --- a/src/Fl_File_Icon2.cxx +++ b/src/Fl_File_Icon2.cxx @@ -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. // @@ -481,7 +481,7 @@ Fl_File_Icon::load_png(const char *png) // I - File to read from # ifdef HAVE_PNG_READ_DESTROY png_read_destroy(pp, info, NULL); # else - png_destroy_read_struct(pp, info, NULL); + png_destroy_read_struct(&pp, &info, NULL); # endif // HAVE_PNG_READ_DESTROY // 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 $". // diff --git a/src/Fl_Help_View.cxx b/src/Fl_Help_View.cxx index 44dcc5cdc..9e6ba5567 100644 --- a/src/Fl_Help_View.cxx +++ b/src/Fl_Help_View.cxx @@ -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. // @@ -3114,7 +3114,7 @@ Fl_Help_View::load_png(Fl_Help_Image *img,// I - Image pointer # ifdef HAVE_PNG_READ_DESTROY png_read_destroy(pp, info, NULL); # else - png_destroy_read_struct(pp, info, NULL); + png_destroy_read_struct(&pp, &info, NULL); # endif // HAVE_PNG_READ_DESTROY 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 $". //