aboutsummaryrefslogtreecommitdiff
path: root/scumm/charset.cpp
diff options
context:
space:
mode:
authorMax Horn2003-04-28 12:36:21 +0000
committerMax Horn2003-04-28 12:36:21 +0000
commitdabbbde957f76510f36f9b1761534733683ed680 (patch)
tree4e853bd03b6d3522beec5d8938938492ff27b5ca /scumm/charset.cpp
parentb4165b024229259c30559a21b5a445219c2fbb4c (diff)
downloadscummvm-rg350-dabbbde957f76510f36f9b1761534733683ed680.tar.gz
scummvm-rg350-dabbbde957f76510f36f9b1761534733683ed680.tar.bz2
scummvm-rg350-dabbbde957f76510f36f9b1761534733683ed680.zip
typo/cleanup
svn-id: r7174
Diffstat (limited to 'scumm/charset.cpp')
-rw-r--r--scumm/charset.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/scumm/charset.cpp b/scumm/charset.cpp
index beb6429738..20df242a8e 100644
--- a/scumm/charset.cpp
+++ b/scumm/charset.cpp
@@ -234,18 +234,18 @@ void CharsetRendererOld256::printChar(int chr) {
}
// FIXME
- if (_left < _strLeft)
+ if (_strLeft > _left)
_strLeft = _left;
_left += getCharWidth(chr);
- if (_left > _strRight) {
+ if (_strRight < _left) {
_strRight = _left;
if (_dropShadow)
_strRight++;
}
- if (_top + h > _strBottom)
+ if (_strBottom < _top + h)
_strBottom = _top + h;
}