diff options
| -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;  | 
