Allow seeking to end of datapack (#687)
This commit is contained in:
parent
79ba2835f6
commit
4e996a116d
@ -185,7 +185,7 @@ size_t CDataPack::GetPosition() const
|
|||||||
|
|
||||||
bool CDataPack::SetPosition(size_t pos) const
|
bool CDataPack::SetPosition(size_t pos) const
|
||||||
{
|
{
|
||||||
if (pos > m_size-1)
|
if (pos > m_size)
|
||||||
{
|
{
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user