[Scummvm-cvs-logs] CVS: scummvm/sky text.cpp,1.45,1.46

Robert G?ffringmann lavosspawn at users.sourceforge.net
Wed Jul 9 18:56:09 CEST 2003


Update of /cvsroot/scummvm/scummvm/sky
In directory sc8-pr-cvs1:/tmp/cvs-serv19727/sky

Modified Files:
	text.cpp 
Log Message:
this fixes bug #768724 (text width exceeded in LINC terminal).
I wonder though, if this isn't in fact a bug in the huffman tree.

Index: text.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/sky/text.cpp,v
retrieving revision 1.45
retrieving revision 1.46
diff -u -d -r1.45 -r1.46
--- text.cpp	9 Jul 2003 16:54:34 -0000	1.45
+++ text.cpp	10 Jul 2003 01:55:48 -0000	1.46
@@ -248,6 +248,8 @@
 	_dtLetters++;
 
 	while (textChar >= 0x20) {
+		if ((_curCharSet == 1) && (textChar >= 0x80))
+			textChar = 0x20;
 
 		textChar -= 0x20;
 		if (textChar == 0) {





More information about the Scummvm-git-logs mailing list