[Scummvm-cvs-logs] CVS: scummvm/scumm string.cpp,1.277,1.278

Torbjörn Andersson eriktorbjorn at users.sourceforge.net
Tue Apr 12 23:31:33 CEST 2005


Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv5438

Modified Files:
	string.cpp 
Log Message:
Increased buffer size to avoid overflow when looking at the Loom help in
the "Passport to Adventure" demo.


Index: string.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/string.cpp,v
retrieving revision 1.277
retrieving revision 1.278
diff -u -d -r1.277 -r1.278
--- string.cpp	10 Apr 2005 12:59:16 -0000	1.277
+++ string.cpp	13 Apr 2005 06:30:02 -0000	1.278
@@ -423,7 +423,7 @@
 }
 
 void ScummEngine::drawString(int a, const byte *msg) {
-	byte buf[256];
+	byte buf[270];
 	byte *space;
 	int i, c;
 	byte fontHeight = 0;





More information about the Scummvm-git-logs mailing list