Signed-off-by: Nobuhiro Iwamatsu <iwamatsu@nigauri.org> git-svn-id: svn+ssh://svn.berlios.de/svnroot/repos/slim/trunk@185 7c53e7cc-98ea-0310-8f1f-a0b24da60408
@@ -59,7 +59,7 @@ read_png(const char *filename, int *width, int *height, unsigned char **rgb,
}
#if PNG_LIBPNG_VER_MAJOR >= 1 && PNG_LIBPNG_VER_MINOR >= 4
- if (setjmp(png_jmpbuf((data->png_ptr))))
+ if (setjmp(png_jmpbuf((png_ptr))))
#else
if (setjmp(png_ptr->jmpbuf))
#endif