aboutsummaryrefslogtreecommitdiff
path: root/kyra/resource.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'kyra/resource.cpp')
-rw-r--r--kyra/resource.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/kyra/resource.cpp b/kyra/resource.cpp
index da0c2bbed2..f661b979ed 100644
--- a/kyra/resource.cpp
+++ b/kyra/resource.cpp
@@ -212,7 +212,7 @@ PAKFile::PAKFile(/*const Common::String &path, */const Common::String& file) {
// saves the name
chunk->_name = reinterpret_cast<const char*>(_buffer + pos);
pos += strlen(chunk->_name) + 1;
- if(!(*chunk->_name))
+ if (!(*chunk->_name))
break;
endoffset = READ_LE_UINT32(_buffer + pos);