diff options
-rw-r--r-- | engines/director/frame.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 7ea9ec69fc..8992806ea8 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -899,10 +899,10 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo if (_vm->getVersion() >= 4 && !isButtonLabel) height = textCast->initialRect.bottom; height += textShadow; - // WORKAROUND: TODO: Check what is the actual size in the original - // 4 is for the horizontal bars space, 1 on the left edge, 2 on the right edge - int width = _sprites[spriteId]->_width - 7; - if (_vm->getVersion() >= 4 && !isButtonLabel) width = textCast->initialRect.right; + int width = _sprites[spriteId]->_width; + + if (_vm->getVersion() >= 4 && !isButtonLabel) + width = textCast->initialRect.right; if (_vm->_currentScore->_fontMap.contains(textCast->fontId)) { // We need to make sure that teh Shared Cast fonts have been loaded in? |