Changed to always write out full image, ignoring the headerOnly/dataOnly settings.

git-svn-id: file:///srv/svn/repos/haiku/trunk/current@5995 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
Matthew Wilber 2004-01-09 02:45:24 +00:00
parent 293357ae2a
commit 6439a8fc6d
1 changed files with 2 additions and 6 deletions

View File

@ -1448,9 +1448,7 @@ translate_from_bits(BPositionIO *inSource, ssize_t amtread, uint8 *read,
BPositionIO *outDestination)
{
TranslatorBitmap bitsHeader;
bool bheaderonly, bdataonly, brle;
bheaderonly = settings.SetGetHeaderOnly();
bdataonly = settings.SetGetDataOnly();
bool bheaderonly = false, bdataonly = false, brle;
brle = settings.SetGetRLE();
status_t result;
@ -2380,9 +2378,7 @@ translate_from_tga(BPositionIO *inSource, ssize_t amtread, uint8 *read,
TGAFileHeader fileheader;
TGAColorMapSpec mapspec;
TGAImageSpec imagespec;
bool bheaderonly, bdataonly;
bheaderonly = settings.SetGetHeaderOnly();
bdataonly = settings.SetGetDataOnly();
bool bheaderonly = false, bdataonly = false;
status_t result;
result = identify_tga_header(inSource, NULL, amtread, read,