blob: fc59a0af97eaa5374ddc81dbb897c9bd12bd2091 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-al,v 1.3 2011/01/16 18:18:19 tnn Exp $
--- src/helper/png-write.cpp.orig 2010-07-13 03:48:40.000000000 +0000
+++ src/helper/png-write.cpp
@@ -165,7 +165,7 @@ sp_png_write_rgba_striped(SPDocument *do
/* Set error handling. REQUIRED if you aren't supplying your own
* error hadnling functions in the png_create_write_struct() call.
*/
- if (setjmp(png_ptr->jmpbuf)) {
+ if (setjmp(png_jmpbuf(png_ptr))) {
/* If we get here, we had a problem reading the file */
fclose(fp);
png_destroy_write_struct(&png_ptr, &info_ptr);
|