12 lines
203 B
Diff
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
|
||
|
|