aboutsummaryrefslogtreecommitdiff
path: root/engines/gob
diff options
context:
space:
mode:
authorJohannes Schickel2012-03-11 00:51:20 +0100
committerJohannes Schickel2012-03-11 00:51:20 +0100
commit48efab4e5abd8954b7167074b46ff078f6e0d7f4 (patch)
treefdec16829249529eacdbe35e22f2a242e425c7d1 /engines/gob
parent5e52b0a5d46e4c5b230cba7464301484d27804f7 (diff)
downloadscummvm-rg350-48efab4e5abd8954b7167074b46ff078f6e0d7f4.tar.gz
scummvm-rg350-48efab4e5abd8954b7167074b46ff078f6e0d7f4.tar.bz2
scummvm-rg350-48efab4e5abd8954b7167074b46ff078f6e0d7f4.zip
COMMON: Rename SafeSubReadStream to SafeSeekableSubReadStream.
It actually inherits from SeekableSubReadStream, so it should be named accordingly.
Diffstat (limited to 'engines/gob')
-rw-r--r--engines/gob/dataio.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/gob/dataio.cpp b/engines/gob/dataio.cpp
index 1633a1edb7..2071c0f1be 100644
--- a/engines/gob/dataio.cpp
+++ b/engines/gob/dataio.cpp
@@ -414,7 +414,7 @@ Common::SeekableReadStream *DataIO::getFile(File &file) {
return 0;
Common::SeekableReadStream *rawData =
- new Common::SafeSubReadStream(&file.archive->file, file.offset, file.offset + file.size);
+ new Common::SafeSeekableSubReadStream(&file.archive->file, file.offset, file.offset + file.size);
if (file.compression == 0)
return rawData;