mirror of
https://git.freebsd.org/ports.git
synced 2025-06-05 12:56:28 -04:00
11 lines
276 B
C
11 lines
276 B
C
--- ref_gl/sul_png.c.orig 2005-12-27 09:57:45 UTC
|
|
+++ ref_gl/sul_png.c
|
|
@@ -177,7 +177,7 @@ void GL_ScreenShot_PNG (void)
|
|
return;
|
|
}
|
|
|
|
- if (setjmp(png_ptr->jmpbuf))
|
|
+ if (setjmp(png_jmpbuf(png_ptr)))
|
|
{
|
|
png_destroy_write_struct(&png_ptr, &info_ptr);
|
|
free(rgbdata);
|