mirror of
git://slackware.nl/current.git
synced 2025-01-24 08:01:36 +01:00
12 lines
284 B
Diff
12 lines
284 B
Diff
|
--- ./wrlib/load.c.orig 2008-04-30 15:45:26.000000000 -0500
|
||
|
+++ ./wrlib/load.c 2010-02-11 15:39:38.000000000 -0600
|
||
|
@@ -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
|
||
|
|