summaryrefslogtreecommitdiff
blob: 6ba3c49243a0e164416ecfc1d2ff72fe861d47d7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
http://projects.archlinux.org/svntogit/community.git/tree/libmatchbox/trunk/PKGBUILD?id=43f68b59fb790eb685d18a2f189c7e3055c77b30

--- libmb/mbpixbuf.c
+++ libmb/mbpixbuf.c
@@ -228,7 +228,7 @@
   if ((fd = fopen( file, "rb" )) == NULL) return NULL;
 
   fread( header, 1, 8, fd );
-  if ( ! png_check_sig( header, 8 ) ) 
+  if ( ! png_sig_cmp( header, 0, 8 ) == 0 ) 
     {
       fclose(fd);
       return NULL;