]>
Commit | Line | Data |
---|---|---|
f0c4d546 | 1 | diff -burNp fltk-2.0.x-r6970/images/fl_png.cxx fltk-2.0.x-r6970-dud/images/fl_png.cxx |
2 | --- fltk-2.0.x-r6970/images/fl_png.cxx 2007-04-16 16:48:06.000000000 +0200 | |
3 | +++ fltk-2.0.x-r6970-dud/images/fl_png.cxx 2010-02-19 22:42:37.719369135 +0100 | |
4 | @@ -62,7 +62,7 @@ bool pngImage::test(const uchar* datas, | |
5 | #if !HAVE_LIBPNG | |
6 | return 0; | |
7 | #else | |
8 | - return png_check_sig((png_byte*)datas, (int)size)!=0; | |
9 | + return png_sig_cmp((png_byte*)datas, 0, (int)size)!=0; | |
10 | #endif | |
11 | } | |
12 |