aboutsummaryrefslogtreecommitdiff
path: root/engines/teenagent/pack.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/teenagent/pack.cpp')
-rw-r--r--engines/teenagent/pack.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/teenagent/pack.cpp b/engines/teenagent/pack.cpp
index aada922f7d..5302e2eceb 100644
--- a/engines/teenagent/pack.cpp
+++ b/engines/teenagent/pack.cpp
@@ -179,7 +179,7 @@ bool MemoryPack::open(const Common::String &filename) {
uint32 MemoryPack::getSize(uint32 id) const {
--id;
- return id < chunks.size()? chunks[id].size: 0;
+ return id < chunks.size() ? chunks[id].size : 0;
}
uint32 MemoryPack::read(uint32 id, byte *dst, uint32 size) const {