From 7189b0a11ad8b93b40cb4200ee35becf36c07009 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sat, 12 Jul 2003 22:46:23 +0000 Subject: fix for bug #770311 (at least for V2 games) svn-id: r8959 --- scumm/script_v2.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp index 07af801f9b..9ff0224b36 100644 --- a/scumm/script_v2.cpp +++ b/scumm/script_v2.cpp @@ -917,7 +917,7 @@ void Scumm_v2::o2_doSentence() { void Scumm_v2::o2_drawSentence() { ScummVM::Rect sentenceline; - static char sentence[80]; + static char sentence[256]; const byte *temp; int slot = getVerbSlot(VAR(VAR_SENTENCE_VERB),0); @@ -971,6 +971,7 @@ void Scumm_v2::o2_drawSentence() { _string[2].xpos = 0; _string[2].color = 5; + sentence[80] = 0; _messagePtr = (byte*)sentence; sentenceline.top = virtscr[2].topline; -- cgit v1.2.3