summaryrefslogtreecommitdiffstats
path: root/source/xap/xine-ui/xine-ui.png14.diff
blob: 35a06513c7f44c1a14338f07d83373612f2d4c77 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
--- ./src/xitk/Imlib-light/load.c.orig	2003-07-14 17:44:10.000000000 -0500
+++ ./src/xitk/Imlib-light/load.c	2010-02-19 13:41:27.000000000 -0600
@@ -193,7 +193,7 @@
     return 0;
   fread(buf, 1, 8, f);
   rewind(f);
-  return (int)png_check_sig(buf, 8);
+  return (int)(png_sig_cmp(buf, 0, 8) == 0);
 }
 
 ImlibImage * Imlib_load_image(ImlibData * id, char *file) {