[Scummvm-cvs-logs] CVS: scummvm/scumm charset.cpp,2.85,2.85.2.1

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


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

Modified Files:
      Tag: branch-0-6-0
	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.85
retrieving revision 2.85.2.1
diff -u -d -r2.85 -r2.85.2.1
--- charset.cpp	15 Jan 2004 22:37:48 -0000	2.85
+++ charset.cpp	3 Apr 2004 23:44:14 -0000	2.85.2.1
@@ -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