aboutsummaryrefslogtreecommitdiff
path: root/scumm/string.cpp
diff options
context:
space:
mode:
authorMax Horn2002-12-27 23:18:06 +0000
committerMax Horn2002-12-27 23:18:06 +0000
commit38a3d115a12a397578e564d10697fb730f95efdc (patch)
tree68bb8d1d0b8dda502ebf5bd8d79a9e3dd1151677 /scumm/string.cpp
parent18e0ac90f4a6207ef7c8d46f35aaf9d8a3df9e89 (diff)
downloadscummvm-rg350-38a3d115a12a397578e564d10697fb730f95efdc.tar.gz
scummvm-rg350-38a3d115a12a397578e564d10697fb730f95efdc.tar.bz2
scummvm-rg350-38a3d115a12a397578e564d10697fb730f95efdc.zip
added FIXME
svn-id: r6211
Diffstat (limited to 'scumm/string.cpp')
-rw-r--r--scumm/string.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/scumm/string.cpp b/scumm/string.cpp
index 7e0d14343c..2964960445 100644
--- a/scumm/string.cpp
+++ b/scumm/string.cpp
@@ -543,6 +543,10 @@ void Scumm::drawString(int a)
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)