[Scummvm-cvs-logs] CVS: scummvm/scumm/smush smush_font.cpp,1.22,1.23

Max Horn fingolfin at users.sourceforge.net
Sat Sep 18 15:43:00 CEST 2004


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

Modified Files:
	smush_font.cpp 
Log Message:
Rename some member vars to avoid _ followed by an uppercase letter. More of those are left in the code, though (and I am not really sure whether we want to change that, so far we had no problems caused by this)

Index: smush_font.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/smush/smush_font.cpp,v
retrieving revision 1.22
retrieving revision 1.23
diff -u -d -r1.22 -r1.23
--- smush_font.cpp	22 Aug 2004 09:14:19 -0000	1.22
+++ smush_font.cpp	18 Sep 2004 22:42:45 -0000	1.23
@@ -146,7 +146,7 @@
 		x = 0;
 
 	for (int i = 0; str[i] != 0; i++) {
-		if ((byte)str[i] >= 0x80 && _vm->_CJKMode) {
+		if ((byte)str[i] >= 0x80 && _vm->_useCJKMode) {
 			x += draw2byte(buffer, dst_width, x, y, (byte)str[i] + 256 * (byte)str[i+1]);
 			i++;
 		} else





More information about the Scummvm-git-logs mailing list