summaryrefslogtreecommitdiff
path: root/games/quake2max/files/patch-ref_gl__sul_png.c
blob: 9061bd5a9a3207f27661cf8b7e0bd4a47ff15010 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ref_gl/sul_png.c.orig	2005-12-27 10:57:45.000000000 +0100
+++ ref_gl/sul_png.c	2012-04-29 06:53:31.000000000 +0200
@@ -177,7 +177,7 @@
 		return;
 	}
 
-	if (setjmp(png_ptr->jmpbuf))
+	if (setjmp(png_jmpbuf(png_ptr)))
 	{
 		png_destroy_write_struct(&png_ptr, &info_ptr);
 		free(rgbdata);