From ac0b7ef8bacf8a164495c5b88866987972d8bab1 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ond=C5=99ej=20Ho=C5=A1ek?= Date: Sat, 30 Jun 2012 14:43:03 +0200 Subject: [PATCH] officially handle seek-from-beginning case as well --- HLLib/FileStream.cpp | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/HLLib/FileStream.cpp b/HLLib/FileStream.cpp index a650fe5..c818d7d 100644 --- a/HLLib/FileStream.cpp +++ b/HLLib/FileStream.cpp @@ -207,9 +207,8 @@ hlULongLong CFileStream::Seek(hlLongLong iOffset, HLSeekMode eSeekMode) hlInt iMode = SEEK_SET; switch(eSeekMode) { - /*case HL_SEEK_BEGINNING: - iMode = SEEK_SET; - break;*/ + case HL_SEEK_BEGINNING: + break; case HL_SEEK_CURRENT: iMode = SEEK_CUR; break;