summaryrefslogtreecommitdiffstats
path: root/abs/core/windowmaker-crm-git/libpng-1.4.patch
blob: 5dbe5fd256430e88933c1363049eba38f8db0bc5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur windowmaker-20091221-orig/wrlib/load.c windowmaker-20091221/wrlib/load.c
--- windowmaker-20091221-orig/wrlib/load.c	2010-01-21 17:01:10.000000000 -0500
+++ windowmaker-20091221/wrlib/load.c	2010-01-21 17:02:38.000000000 -0500
@@ -327,7 +327,7 @@
 
 #ifdef USE_PNG
 	/* check for PNG */
-	if (png_check_sig(buffer, 8))
+	if (!png_sig_cmp(buffer, 0, 8))
 		return IM_PNG;
 #endif