aboutsummaryrefslogtreecommitdiff
path: root/scumm
diff options
context:
space:
mode:
authorMax Horn2003-07-15 18:18:29 +0000
committerMax Horn2003-07-15 18:18:29 +0000
commit2aa8cc496d3764206b393a892415650ac2e1064b (patch)
tree5e0b5d2940f224bf9c8f66bc4d4b54131a799912 /scumm
parent60e5e16ae6348a1dfab4f7fe1625900ed9ef283a (diff)
downloadscummvm-rg350-2aa8cc496d3764206b393a892415650ac2e1064b.tar.gz
scummvm-rg350-2aa8cc496d3764206b393a892415650ac2e1064b.tar.bz2
scummvm-rg350-2aa8cc496d3764206b393a892415650ac2e1064b.zip
fix for bug #771734
svn-id: r9041
Diffstat (limited to 'scumm')
-rw-r--r--scumm/script_v2.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/script_v2.cpp b/scumm/script_v2.cpp
index 78b9a8aecd..92c309c247 100644
--- a/scumm/script_v2.cpp
+++ b/scumm/script_v2.cpp
@@ -989,7 +989,7 @@ void Scumm_v2::o2_drawSentence() {
else
_string[2].color = 13;
- sentence[80] = 0;
+ sentence[41] = 0; // Maximal length: 40 characters
_messagePtr = (byte*)sentence;
sentenceline.top = virtscr[2].topline;