Added handling of return type
This commit is contained in:
parent
5128461c67
commit
39d439cea4
@ -240,7 +240,10 @@ bool decrunch(RGBE *_scanline, int _len, FILE *_file)
|
||||
|
||||
i = fgetc(_file);
|
||||
if (i != 2) {
|
||||
fseek(_file, -1, SEEK_CUR);
|
||||
if (fseek(_file, -1, SEEK_CUR)!=0)
|
||||
{
|
||||
return false;
|
||||
}
|
||||
return oldDecrunch(_scanline, _len, _file);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user