aboutsummaryrefslogtreecommitdiff
path: root/sound.cpp
diff options
context:
space:
mode:
authorNicolas Bacca2002-05-15 19:29:36 +0000
committerNicolas Bacca2002-05-15 19:29:36 +0000
commitb3684d05ae886c445ab8aad26c1695164ed72bc8 (patch)
tree6a5807a556d564de56b1c1240ed2bca70f0713ff /sound.cpp
parent4670fee8218cdc27932f855b3e453c37e4cea586 (diff)
downloadscummvm-rg350-b3684d05ae886c445ab8aad26c1695164ed72bc8.tar.gz
scummvm-rg350-b3684d05ae886c445ab8aad26c1695164ed72bc8.tar.bz2
scummvm-rg350-b3684d05ae886c445ab8aad26c1695164ed72bc8.zip
Fixed evil filename overflow
svn-id: r4339
Diffstat (limited to 'sound.cpp')
-rw-r--r--sound.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/sound.cpp b/sound.cpp
index e53edc4e29..f752b6f1a6 100644
--- a/sound.cpp
+++ b/sound.cpp
@@ -597,7 +597,7 @@ static int get_int(FILE * f)
void *Scumm::openSfxFile()
{
- char buf[50];
+ char buf[256];
FILE *file = NULL;
if (_gameId == GID_DIG) {