aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTorbjörn Andersson2005-04-13 06:30:02 +0000
committerTorbjörn Andersson2005-04-13 06:30:02 +0000
commitc9388604a339bdc560534c93901ea9984e329729 (patch)
treee96fde57a7e3f083a3ecdb0a1790bb7afc96f399
parent4aff3f0dc81cb39fd78c9da70820d49aac195014 (diff)
downloadscummvm-rg350-c9388604a339bdc560534c93901ea9984e329729.tar.gz
scummvm-rg350-c9388604a339bdc560534c93901ea9984e329729.tar.bz2
scummvm-rg350-c9388604a339bdc560534c93901ea9984e329729.zip
Increased buffer size to avoid overflow when looking at the Loom help in
the "Passport to Adventure" demo. svn-id: r17577
-rw-r--r--scumm/string.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index bf11debf71..48af2b7a32 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -423,7 +423,7 @@ loc_avoid_ks_fe:
}
void ScummEngine::drawString(int a, const byte *msg) {
- byte buf[256];
+ byte buf[270];
byte *space;
int i, c;
byte fontHeight = 0;