Skip to content

Commit

Permalink
Allow seeking to end of datapack (#687)
Browse files Browse the repository at this point in the history
  • Loading branch information
asherkin committed Sep 19, 2017
1 parent 79ba283 commit 4e996a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/logic/CDataPack.cpp
Expand Up @@ -185,7 +185,7 @@ size_t CDataPack::GetPosition() const

bool CDataPack::SetPosition(size_t pos) const
{
if (pos > m_size-1)
if (pos > m_size)
{
return false;
}
Expand Down

0 comments on commit 4e996a1

Please sign in to comment.