aboutsummaryrefslogtreecommitdiffstats
path: root/main/thunar/libpng-1.4.patch
blob: 7f38165f771d8288541fc9d939d113865a8cc304 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
diff -Naur Thunar-1.0.1.orig/thunar-vfs/thunar-vfs-thumb.c Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c
--- Thunar-1.0.1.orig/thunar-vfs/thunar-vfs-thumb.c	2010-01-20 21:31:35.000000000 -0500
+++ Thunar-1.0.1/thunar-vfs/thunar-vfs-thumb.c	2010-01-20 21:34:51.000000000 -0500
@@ -1169,7 +1169,7 @@
     goto done0;
 
   /* verify the png signature */
-  if (G_LIKELY (png_check_sig ((png_bytep) signature, sizeof (signature))))
+  if (G_LIKELY (!png_sig_cmp ((png_bytep) signature, 0, sizeof (signature))))
     rewind (fp);
   else
     goto done0;