aboutsummaryrefslogtreecommitdiff
path: root/src/common/io/Stream.cpp
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2022-01-24 22:14:37 +0800
committercrupest <crupest@outlook.com>2022-01-24 22:14:37 +0800
commit24e1dc8723aea1e46a3aa15794747f3fa52f8eca (patch)
tree0c879b38647307d25325eb8f9993a7f690fb46b2 /src/common/io/Stream.cpp
parent72402c09d45b696cd58a65b4a141a804e1cd9371 (diff)
downloadcru-24e1dc8723aea1e46a3aa15794747f3fa52f8eca.tar.gz
cru-24e1dc8723aea1e46a3aa15794747f3fa52f8eca.tar.bz2
cru-24e1dc8723aea1e46a3aa15794747f3fa52f8eca.zip
...
Diffstat (limited to 'src/common/io/Stream.cpp')
-rw-r--r--src/common/io/Stream.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/common/io/Stream.cpp b/src/common/io/Stream.cpp
index bf102441..4f2953f9 100644
--- a/src/common/io/Stream.cpp
+++ b/src/common/io/Stream.cpp
@@ -7,7 +7,7 @@ Index Stream::GetSize() {
Index current_position = Tell();
Seek(0, SeekOrigin::End);
Index size = Tell();
- Seek(current_position);
+ Seek(current_position, SeekOrigin::Begin);
return size;
}