Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Missed an ferror(); fixed to use platform abstraction instead.
  • Loading branch information
icculus committed Apr 1, 2002
1 parent 179aada commit 34bdd66
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions archivers/unzip.c
Expand Up @@ -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;
}
}

Expand Down

0 comments on commit 34bdd66

Please sign in to comment.