aboutsummaryrefslogblamecommitdiff
path: root/games/xglk/files/patch-xglk_pict.c
blob: 4249ca2c01c1348464e954a4fb00a8e33ea9cbef (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11










                                                             
--- xglk_pict.c.orig	1999-08-26 20:42:12.000000000 +0200
+++ xglk_pict.c	2012-04-29 07:14:20.000000000 +0200
@@ -385,7 +385,7 @@
     return NULL;
   }
 
-  if (setjmp(png_ptr->jmpbuf)) {
+  if (setjmp(png_jmpbuf(png_ptr))) {
     /* If we jump here, we had a problem reading the file */
     png_destroy_read_struct(&png_ptr, &info_ptr, NULL);
     if (rowarray)