aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/decompress.cpp
diff options
context:
space:
mode:
authorPaul Gilbert2015-05-09 15:53:18 -0400
committerPaul Gilbert2015-05-09 15:53:18 -0400
commit281d44706bfa2cb58b3de469d320f06f75a93c86 (patch)
tree54ee9a7f8cb43ad63774e05a33ce058d65b55bdc /engines/sherlock/decompress.cpp
parent1ddbe9d720d96baf3f95373d264ff1218b34411f (diff)
downloadscummvm-rg350-281d44706bfa2cb58b3de469d320f06f75a93c86.tar.gz
scummvm-rg350-281d44706bfa2cb58b3de469d320f06f75a93c86.tar.bz2
scummvm-rg350-281d44706bfa2cb58b3de469d320f06f75a93c86.zip
SHERLOCK: Refine comment for decompressLZ
Diffstat (limited to 'engines/sherlock/decompress.cpp')
-rw-r--r--engines/sherlock/decompress.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/sherlock/decompress.cpp b/engines/sherlock/decompress.cpp
index fff9616c60..dfa573209f 100644
--- a/engines/sherlock/decompress.cpp
+++ b/engines/sherlock/decompress.cpp
@@ -27,8 +27,8 @@ namespace Sherlock {
/**
* Decompresses an LZW compressed resource. If no outSize is specified, it will
* decompress the entire resource. If, however, an explicit size is specified,
- * it will decompress only up to that many bytes from the stream starting at
- * whatever position it was previously.
+ * then it means we're already within a resource, and only want to decompress
+ * part of it.
*/
Common::SeekableReadStream *decompressLZ(Common::SeekableReadStream &source, int32 outSize) {
if (outSize == -1) {