aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
Diffstat (limited to 'engines')
-rw-r--r--engines/sword1/resman.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/sword1/resman.cpp b/engines/sword1/resman.cpp
index 2f8b37d21c..f3b0f83e05 100644
--- a/engines/sword1/resman.cpp
+++ b/engines/sword1/resman.cpp
@@ -309,7 +309,7 @@ Common::File *ResMan::resFile(uint32 id) {
_openCluEnd = cluster;
}
cluster->file = new Common::File();
- char fileName[15];
+ char fileName[36];
// Supposes that big endian means mac cluster file and little endian means PC cluster file.
// This works, but we may want to separate the file name from the endianess or try .CLM extension if opening.clu file fail.
if (_isBigEndian)