Missed an ferror(); fixed to use platform abstraction instead.
This commit is contained in:
parent
179aadad27
commit
34bdd661c9
|
@ -153,10 +153,10 @@ local int unzlocal_getByte(fin,pi)
|
|||
}
|
||||
else
|
||||
{
|
||||
if (ferror(fin))
|
||||
return UNZ_ERRNO;
|
||||
else
|
||||
if (__PHYSFS_platformEOF(fin))
|
||||
return UNZ_EOF;
|
||||
else
|
||||
return UNZ_ERRNO;
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue