diff options
author | Paul Gilbert | 2019-05-05 09:58:14 +1000 |
---|---|---|
committer | Filippos Karapetis | 2019-05-12 11:44:15 +0300 |
commit | e2f68e24035245ec0f453c49b28207d32def4789 (patch) | |
tree | 49b75fada577f7153918c4ca54db069a3e7a4f01 /common/file.cpp | |
parent | b821e8fce47d1dbc8c94448fc3727e58814237a3 (diff) | |
download | scummvm-rg350-e2f68e24035245ec0f453c49b28207d32def4789.tar.gz scummvm-rg350-e2f68e24035245ec0f453c49b28207d32def4789.tar.bz2 scummvm-rg350-e2f68e24035245ec0f453c49b28207d32def4789.zip |
COMMON: Fix seek return values, memory stream use in create_titanic
Diffstat (limited to 'common/file.cpp')
-rw-r--r-- | common/file.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/common/file.cpp b/common/file.cpp index 9cf554646c..6320838e0b 100644 --- a/common/file.cpp +++ b/common/file.cpp @@ -221,7 +221,7 @@ int32 DumpFile::pos() const { return _handle->pos(); } bool DumpFile::seek(int32 offset, int whence) { SeekableWriteStream *ws = dynamic_cast<SeekableWriteStream *>(_handle); - return ws ? ws->seek(offset, whence) : -1; + return ws ? ws->seek(offset, whence) : false; } int32 DumpFile::size() const { |