summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorge Williams <pfaedit@users.sourceforge.net>2011-02-18 10:59:45 -0800
committerGeorge Williams <pfaedit@users.sourceforge.net>2011-02-18 10:59:45 -0800
commit7a6e789b3007d552abb7c0fb3d1153f7e019c0bd (patch)
tree158fa54128d0e30f2b144e46d2b846effdc108eb
parent82559ec27872dc6925ee576754d1bcb29240a338 (diff)
Oops. Barry's png patch wasn't quite right.
-rw-r--r--gutils/gimagewritepng.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gutils/gimagewritepng.c b/gutils/gimagewritepng.c
index ccca0316..43fa0970 100644
--- a/gutils/gimagewritepng.c
+++ b/gutils/gimagewritepng.c
@@ -327,7 +327,7 @@ return(false);
#if (PNG_LIBPNG_VER < 10500)
if (setjmp(png_ptr->jmpbuf))
#else
- if (setjmp(*_png_set_longjmp_fn(png_ptr, longjmp, sizeof (jmp_buf))))
+ if (setjmp(*png_set_longjmp_fn(png_ptr, longjmp, sizeof (jmp_buf))))
#endif
{
png_destroy_write_struct(&png_ptr, (png_infopp)NULL);