From dd40c72327b707915a9bdea8edf41bbb8b5d66de Mon Sep 17 00:00:00 2001 From: Max Horn Date: Sun, 8 Jul 2007 21:25:09 +0000 Subject: cleanup svn-id: r27977 --- engines/scumm/charset.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'engines') 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); } -- cgit v1.2.3