Fix for blank PNG images appearing in QuickRes. Apparently, when QuickRes asks for headerOnly, it really means that it wants the entire image.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5992 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matthew Wilber
2004-01-09 02:06:38 +00:00
parent 90879508d8
commit e17553b84d
@@ -538,9 +538,7 @@ translate_from_png_to_bits(BPositionIO *inSource, BPositionIO *outDestination,
// to a different value, the above is what
// will be returned from this function
bool bheaderonly, bdataonly;
bheaderonly = settings.SetGetHeaderOnly();
bdataonly = settings.SetGetDataOnly();
bool bheaderonly = false, bdataonly = false;
// for storing decoded PNG row data
uint8 **prows = NULL, *prow = NULL;