summaryrefslogtreecommitdiff
path: root/games/pingus/files/patch-src-screenshot.cpp
blob: 4f6cc17dd13e0f04453441f0568c7befd0f2c5fd (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- src/screenshot.cpp.orig	2007-09-30 18:07:08.000000000 +0200
+++ src/screenshot.cpp	2012-04-29 06:49:26.000000000 +0200
@@ -159,7 +159,7 @@
       return;
     }
 
-  if (setjmp(png_ptr->jmpbuf))
+  if (setjmp(png_jmpbuf(png_ptr)))
     {
       // If we get here, we had a problem reading the file
       fclose(fp);