summaryrefslogtreecommitdiff
path: root/xcursorgen.c
diff options
context:
space:
mode:
authorCody Maloney <cmaloney@theoreticalchaos.com>2010-03-14 00:07:23 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2010-05-18 18:12:22 -0700
commit9e7c41e0e16183110cd7b28d012a0bb69aed4655 (patch)
tree78864d5051d3f5e89b3ddf3293589988a6d56f48 /xcursorgen.c
parent194d9a4353dbf0b4c1d2895e60966bbc4429c54d (diff)
Upgraded to work with libpng14
setjmp(png_ptr->jmpbuf) is depreceated so removed it and changed the configure.ac version number to accept libpng12 or libpng14 Signed-off-by: Cody Maloney <cmaloney@theoreticalchaos.com> Tested-by: Yaakov Selkowitz <yselkowitz@users.sourceforge.net> Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xcursorgen.c')
-rw-r--r--xcursorgen.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xcursorgen.c b/xcursorgen.c
index fc80f6d..daae18b 100644
--- a/xcursorgen.c
+++ b/xcursorgen.c
@@ -196,7 +196,7 @@ load_image (struct flist *list, char *prefix)
return NULL;
}
- if (setjmp (png->jmpbuf))
+ if (setjmp (png_jmpbuf(png)))
{
png_destroy_read_struct (&png, &info, NULL);
return NULL;