aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTravis Howell2004-01-01 08:42:49 +0000
committerTravis Howell2004-01-01 08:42:49 +0000
commit262514958457e1dd36fba016bcfb597b4b5116ae (patch)
treef4f353a2033dcd575828432852185a6ce324d04c
parent7dbf520f6771f8ef81a2373025ea4e63ddfe56d4 (diff)
downloadscummvm-rg350-262514958457e1dd36fba016bcfb597b4b5116ae.tar.gz
scummvm-rg350-262514958457e1dd36fba016bcfb597b4b5116ae.tar.bz2
scummvm-rg350-262514958457e1dd36fba016bcfb597b4b5116ae.zip
Avoid memory corruption
svn-id: r12065
-rw-r--r--simon/simon.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/simon/simon.cpp b/simon/simon.cpp
index 82fa70fa45..e0221bc740 100644
--- a/simon/simon.cpp
+++ b/simon/simon.cpp
@@ -1226,7 +1226,7 @@ void SimonEngine::playSting(uint a) {
if (!midi._enable_sfx)
return;
- char filename[11];
+ char filename[15];
File mus_file;
uint16 mus_offset;