[Scummvm-cvs-logs] CVS: scummvm/scumm string.cpp,1.69,1.70
Max Horn
fingolfin at users.sourceforge.net
Fri Dec 27 15:19:03 CET 2002
Update of /cvsroot/scummvm/scummvm/scumm
In directory sc8-pr-cvs1:/tmp/cvs-serv10944
Modified Files:
string.cpp
Log Message:
added FIXME
Index: string.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/scumm/string.cpp,v
retrieving revision 1.69
retrieving revision 1.70
diff -u -d -r1.69 -r1.70
--- string.cpp 27 Dec 2002 16:55:22 -0000 1.69
+++ string.cpp 27 Dec 2002 23:18:06 -0000 1.70
@@ -543,6 +543,10 @@
if (_features & GF_AFTER_V7) {
_charset->_hasMask = true;
+ // FIXME - hos is supposed to ever work, since gdi._mask_left is by default set
+ // to -1 to mark it as invalid. Hence this comparision will always leave it at -1,
+ // which implies that if the mask was marked invalid, it will always stay so.
+ // That seems odd and not at all to be the intended thing... or is it?
if (_charset->_strLeft < gdi._mask_left)
gdi._mask_left = _charset->_strLeft;
if (_charset->_strRight > gdi._mask_right)
More information about the Scummvm-git-logs
mailing list