]> git.pld-linux.org Git - packages/libwmf.git/blame - libwmf-png12.patch
- updated to 0.2.12 from github fork
[packages/libwmf.git] / libwmf-png12.patch
CommitLineData
a6ea61cf
MB
1--- libwmf-0.2.8.4/src/extra/gd/gd_png.c 2005-07-27 22:35:06.000000000 +0200
2+++ libwmf-0.2.8.4/src/extra/gd/gd_png.c.new 2010-01-28 18:47:25.381590959 +0100
3@@ -136,7 +136,7 @@
4 /* first do a quick check that the file really is a PNG image; could
5 * have used slightly more general png_sig_cmp() function instead */
6 gdGetBuf (sig, 8, infile);
7- if (!png_check_sig (sig, 8))
8+ if (png_sig_cmp(sig, 0, 8) != 0)
9 return NULL; /* bad signature */
10
11 #ifndef PNG_SETJMP_NOT_SUPPORTED
This page took 0.099317 seconds and 4 git commands to generate.