diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/glk/blorb.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/glk/blorb.cpp b/engines/glk/blorb.cpp index b97ee319c7..36360c3842 100644 --- a/engines/glk/blorb.cpp +++ b/engines/glk/blorb.cpp @@ -167,7 +167,7 @@ Common::ErrorCode Blorb::load() { uint chunkId = f.readUint32BE(); uint chunkSize = f.readUint32BE(); - if (chunkId == ID_APal) { + if (chunkId == ID_APal && chunkSize > 0) { // Found one, so create an entry so it can be opened as file named "apal" ChunkEntry ce; ce._filename = "apal"; |