summaryrefslogtreecommitdiff
path: root/src/Fl_File_Icon2.cxx
diff options
context:
space:
mode:
authorMichael R Sweet <michael.r.sweet@gmail.com>2001-11-17 15:59:53 +0000
committerMichael R Sweet <michael.r.sweet@gmail.com>2001-11-17 15:59:53 +0000
commitefbe74758f28328ed734735cf0d5a631e7e28193 (patch)
tree4e14e07a95669f4352c402f3899e97112fa85747 /src/Fl_File_Icon2.cxx
parent406404de72bafd6b1fea38a1da16c12e67d36403 (diff)
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
Diffstat (limited to 'src/Fl_File_Icon2.cxx')
-rw-r--r--src/Fl_File_Icon2.cxx6
1 files changed, 3 insertions, 3 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 $".
//