[Scummvm-cvs-logs] CVS: scummvm/gui console.cpp,1.45,1.46

Max Horn fingolfin at users.sourceforge.net
Wed May 5 16:09:03 CEST 2004


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

Modified Files:
	console.cpp 
Log Message:
Maybe this change will cure one of erik's two console bug reports (namely #941811). Maybe not

Index: console.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/console.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- console.cpp	5 May 2004 23:06:40 -0000	1.45
+++ console.cpp	5 May 2004 23:08:30 -0000	1.46
@@ -112,8 +112,12 @@
 	for (int line = 0; line < _linesPerPage; line++) {
 		int x = _x + 1;
 		for (int column = 0; column < _lineWidth; column++) {
+#if 0
 			int l = (start + line) % _linesInBuffer;
 			byte c = buffer(l * _lineWidth + column);
+#else
+			byte c = buffer((start + line) * _lineWidth + column);
+#endif
 			g_gui.drawChar(c, x, y, g_gui._textcolor);
 			x += kCharWidth;
 		}





More information about the Scummvm-git-logs mailing list