diff options
author | Eugene Sandulenko | 2008-06-04 18:27:58 +0000 |
---|---|---|
committer | Eugene Sandulenko | 2008-06-04 18:27:58 +0000 |
commit | 4ee6f4d01a6de5a0f908d8b7ea7cbe7bdd3a63e7 (patch) | |
tree | 85a664b5e20b7f28890b0a7e1649b73ca9590644 /engines | |
parent | b0eb20b4b8e829200b538a32b6333c5b893225cb (diff) | |
download | scummvm-rg350-4ee6f4d01a6de5a0f908d8b7ea7cbe7bdd3a63e7.tar.gz scummvm-rg350-4ee6f4d01a6de5a0f908d8b7ea7cbe7bdd3a63e7.tar.bz2 scummvm-rg350-4ee6f4d01a6de5a0f908d8b7ea7cbe7bdd3a63e7.zip |
Fix memory overwrite
svn-id: r32543
Diffstat (limited to 'engines')
-rw-r--r-- | engines/drascula/talk.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/drascula/talk.cpp b/engines/drascula/talk.cpp index 9d521293f5..ff14b043c0 100644 --- a/engines/drascula/talk.cpp +++ b/engines/drascula/talk.cpp @@ -904,7 +904,7 @@ void DrasculaEngine::talk_sync(const char *said, const char *filename, const cha int y_mask_talk = 170; int p, face = 0; int length = strlen(said); - char buf[1]; + char buf[2]; color_abc(kColorYellow); |