WindowMaker/WindowMaker-png_check_sig.patch
2011-07-27 11:42:14 +00:00

12 lines
203 B
Diff

--- wrlib/load.c
+++ wrlib/load.c
@@ -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