Address issue #5

This commit is contained in:
caitsith2 2018-08-25 15:49:50 -07:00
parent 5edce67f73
commit 0bd4984c06

View file

@ -134,7 +134,7 @@ namespace DiscUtils.Fat
if (!TryLoadCurrentCluster()) if (!TryLoadCurrentCluster())
{ {
if ((_position == _length || _position == DetectLength()) && !_atEOF) if ((_position == _length || _position == DetectLength()))
{ {
_atEOF = true; _atEOF = true;
return 0; return 0;