diff options
author | Paweł Kołodziejski | 2003-11-16 21:26:10 +0000 |
---|---|---|
committer | Paweł Kołodziejski | 2003-11-16 21:26:10 +0000 |
commit | b19119e89f06227ee60f7a715b20bffb25b6b459 (patch) | |
tree | 7a092bf9d31b3146c8bc52e2baa2d1d8c6447227 | |
parent | d5eddef057f1e39c2685304502a7cf2753d5bb65 (diff) | |
download | scummvm-rg350-b19119e89f06227ee60f7a715b20bffb25b6b459.tar.gz scummvm-rg350-b19119e89f06227ee60f7a715b20bffb25b6b459.tar.bz2 scummvm-rg350-b19119e89f06227ee60f7a715b20bffb25b6b459.zip |
ops
svn-id: r11316
-rw-r--r-- | scumm/gfx.cpp | 2 | ||||
-rw-r--r-- | scumm/string.cpp | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/scumm/gfx.cpp b/scumm/gfx.cpp index a71727d77f..657dd4c764 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 aa0da5ce66..001fb47274 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; |