]>
Commit | Line | Data |
---|---|---|
896c0fab AM |
1 | --- dillo-0.8.6/src/png.c~ 2005-10-27 18:20:14.000000000 +0200 |
2 | +++ dillo-0.8.6/src/png.c 2010-01-28 21:49:04.810003532 +0100 | |
3 | @@ -355,7 +355,7 @@ | |
4 | return; /* need MORE data */ | |
5 | } | |
6 | /* check the image signature - DON'T update ipbufstart! */ | |
7 | - if (!png_check_sig(png->ipbuf, DATASIZE)) { | |
8 | + if (png_sig_cmp(png->ipbuf, 0, DATASIZE)) { | |
9 | /* you lied to me about it being a PNG image */ | |
10 | png->state = IS_finished; | |
11 | break; |