[Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.86,2.87

Max Horn fingolfin at users.sourceforge.net
Sat Apr 3 15:57:02 CEST 2004


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

Modified Files:
	charset.cpp 
Log Message:
Fix for bugs #915586, #905856, part of bug #766749 (COMI: Bug with text being printed on the edge of the screen)

Index: charset.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/charset.cpp,v
retrieving revision 2.86
retrieving revision 2.87
diff -u -d -r2.86 -r2.87
--- charset.cpp	22 Feb 2004 21:02:05 -0000	2.86
+++ charset.cpp	3 Apr 2004 23:44:06 -0000	2.87
@@ -1279,10 +1279,10 @@
 	// details.
 
 	if (_firstChar) {
-		_str.left = shadow.left;
-		_str.top = shadow.top;
-		_str.right = shadow.left;
-		_str.bottom = shadow.top;
+		_str.left = (shadow.left >= 0) ? shadow.left : 0;
+		_str.top = (shadow.top >= 0) ? shadow.top : 0;
+		_str.right = _str.left;
+		_str.bottom = _str.top;
 		_firstChar = false;
 	}
 





More information about the Scummvm-git-logs mailing list