Skip to content

Commit

Permalink
Change pfSizedStream::seek to do a straight assignment.
Browse files Browse the repository at this point in the history
  • Loading branch information
Hoikas committed Jun 7, 2021
1 parent dbadc36 commit bf26756
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/Stream/pfSizedStream.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ void pfSizedStream::seek(uint32_t pos)
}

fBase->seek(fBegin + pos);
fPos = pos > fLength ? fLength : pos;
fPos = pos;
}

void pfSizedStream::skip(int32_t count)
Expand Down

0 comments on commit bf26756

Please sign in to comment.