officially handle seek-from-beginning case as well

This commit is contained in:
Ondřej Hošek 2012-06-30 14:43:03 +02:00
parent e920f2c6fa
commit ac0b7ef8ba
1 changed files with 2 additions and 3 deletions

View File

@ -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;