aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorMax Horn2007-07-08 21:25:09 +0000
committerMax Horn2007-07-08 21:25:09 +0000
commitdd40c72327b707915a9bdea8edf41bbb8b5d66de (patch)
tree9966ea26fca0e951bdcbe060fd68fd7f708d292a /engines
parent697f945e002246226631e8734fb01d96736fd770 (diff)
downloadscummvm-rg350-dd40c72327b707915a9bdea8edf41bbb8b5d66de.tar.gz
scummvm-rg350-dd40c72327b707915a9bdea8edf41bbb8b5d66de.tar.bz2
scummvm-rg350-dd40c72327b707915a9bdea8edf41bbb8b5d66de.zip
cleanup
svn-id: r27977
Diffstat (limited to 'engines')
-rw-r--r--engines/scumm/charset.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/engines/scumm/charset.cpp b/engines/scumm/charset.cpp
index 28012e5759..40637ec4b3 100644
--- a/engines/scumm/charset.cpp
+++ b/engines/scumm/charset.cpp
@@ -1261,7 +1261,7 @@ void CharsetRendererV3::printChar(int chr, bool ignoreCharsetMask) {
dst = vs->getPixels(_left, drawTop);
drawBits1(*vs, dst, charPtr, drawTop, origWidth, origHeight);
} else {
- dst = (byte *)_vm->_textSurface.pixels + _top * _vm->_textSurface.pitch + _left;
+ dst = (byte *)_vm->_textSurface.getBasePtr(_left, _top);
drawBits1(_vm->_textSurface, dst, charPtr, drawTop, origWidth, origHeight);
}