aboutsummaryrefslogtreecommitdiffstats
path: root/graphics/xli/files
diff options
context:
space:
mode:
authordinoex <dinoex@FreeBSD.org>2010-03-28 21:10:14 +0800
committerdinoex <dinoex@FreeBSD.org>2010-03-28 21:10:14 +0800
commit8b01dedb06e5b282be3c4c915136f9206887628c (patch)
tree356240d1e3c4a3e53dc116da9fe5fb034ee579de /graphics/xli/files
parent287e9e6bf7b2f6763405da168cfa6a01e6a20ed9 (diff)
downloadfreebsd-ports-gnome-8b01dedb06e5b282be3c4c915136f9206887628c.tar.gz
freebsd-ports-gnome-8b01dedb06e5b282be3c4c915136f9206887628c.tar.zst
freebsd-ports-gnome-8b01dedb06e5b282be3c4c915136f9206887628c.zip
- fix logic of new png function
PR: 145106
Diffstat (limited to 'graphics/xli/files')
-rw-r--r--graphics/xli/files/patch-png.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/graphics/xli/files/patch-png.c b/graphics/xli/files/patch-png.c
index 4a86159680e9..53e687f22eab 100644
--- a/graphics/xli/files/patch-png.c
+++ b/graphics/xli/files/patch-png.c
@@ -14,7 +14,7 @@
return 0;
- ret = png_check_sig(buf, 8);
-+ ret = png_sig_cmp(buf, 0, 8);
++ ret = !png_sig_cmp(buf, 0, 8);
return (ret);
}