From 37b8b6d26b3778f6876baa918e65fd02c6792c42 Mon Sep 17 00:00:00 2001 From: Dirk Meyer Date: Sun, 28 Mar 2010 09:34:32 +0000 Subject: - fix check, so png is detected. Submitted by: tron@freenode --- graphics/gd/files/patch-gd_png.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'graphics/gd/files') diff --git a/graphics/gd/files/patch-gd_png.c b/graphics/gd/files/patch-gd_png.c index 42c677ae41f3..d0af770b29da 100644 --- a/graphics/gd/files/patch-gd_png.c +++ b/graphics/gd/files/patch-gd_png.c @@ -5,7 +5,7 @@ } - if (!png_check_sig (sig, 8)) { /* bad signature */ -+ if (!png_sig_cmp (sig, 0, 8)) { /* bad signature */ ++ if (png_sig_cmp (sig, 0, 8)) { /* bad signature */ return NULL; /* bad signature */ } -- cgit v1.2.3