officially handle seek-from-beginning case as well
This commit is contained in:
parent
e920f2c6fa
commit
ac0b7ef8ba
|
@ -207,9 +207,8 @@ hlULongLong CFileStream::Seek(hlLongLong iOffset, HLSeekMode eSeekMode)
|
||||||
hlInt iMode = SEEK_SET;
|
hlInt iMode = SEEK_SET;
|
||||||
switch(eSeekMode)
|
switch(eSeekMode)
|
||||||
{
|
{
|
||||||
/*case HL_SEEK_BEGINNING:
|
case HL_SEEK_BEGINNING:
|
||||||
iMode = SEEK_SET;
|
break;
|
||||||
break;*/
|
|
||||||
case HL_SEEK_CURRENT:
|
case HL_SEEK_CURRENT:
|
||||||
iMode = SEEK_CUR;
|
iMode = SEEK_CUR;
|
||||||
break;
|
break;
|
||||||
|
|
Loading…
Reference in New Issue