From efbe74758f28328ed734735cf0d5a631e7e28193 Mon Sep 17 00:00:00 2001 From: Michael R Sweet Date: Sat, 17 Nov 2001 15:59:53 +0000 Subject: 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 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/Fl_File_Icon2.cxx') 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 $". // -- cgit v1.2.3