summaryrefslogtreecommitdiffstats
path: root/source/xap/windowmaker/windowmaker.png.1.4.0.diff
blob: a6359c4b24aa9b59dfb32dc52f891c7fd27defb3 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./wrlib/load.c.orig	2008-04-30 15:45:26.000000000 -0500
+++ ./wrlib/load.c	2010-02-11 15:39:38.000000000 -0600
@@ -348,7 +348,7 @@
 
 #ifdef USE_PNG
     /* check for PNG */
-    if (png_check_sig(buffer, 8))
+    if (!png_sig_cmp(buffer, 0, 8))
         return IM_PNG;
 #endif