Missed an ferror(); fixed to use platform abstraction instead.

This commit is contained in:
Ryan C. Gordon 2002-04-01 18:43:59 +00:00
parent 179aadad27
commit 34bdd661c9
1 changed files with 3 additions and 3 deletions

View File

@ -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;
}
}