diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index a71727d77f2..657dd4c7646 100644 --- a/scumm/gfx.cpp +++ b/scumm/gfx.cpp @@ -865,7 +865,7 @@ void ScummEngine::restoreBG(Common::Rect rect, byte backColor) { byte *mask; // Note: At first sight it may look as if this could // be optimized to (rect.right - rect.left) / 8 and - // thus to width * 8, but that's not the case since + // thus to width / 8, but that's not the case since // we are dealing with integer math here. int mask_width = (rect.right / 8) - (rect.left / 8); diff --git a/scumm/string.cpp b/scumm/string.cpp index aa0da5ce661..001fb47274e 100644 --- a/scumm/string.cpp +++ b/scumm/string.cpp @@ -207,7 +207,7 @@ void ScummEngine::CHARSET_1() { if (_charset->_center) { if (t > _charset->_nextLeft) t = _charset->_nextLeft; - t /= 2; + t *= 2; } buffer = _charsetBuffer + _charsetBufPos;