aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--scumm/charset.cpp6
-rw-r--r--scumm/scummvm.cpp2
2 files changed, 4 insertions, 4 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;
}
diff --git a/scumm/scummvm.cpp b/scumm/scummvm.cpp
index 03237d2e3c..76f7cb13aa 100644
--- a/scumm/scummvm.cpp
+++ b/scumm/scummvm.cpp
@@ -1014,7 +1014,7 @@ void Scumm::initRoomSubBlocks() {
}
//
- // Load sccale data
+ // Load scale data
//
if (_features & GF_OLD_BUNDLE)
ptr = 0; // TODO ?