diff options
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/frame.cpp | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 693e477ab0..7ea9ec69fc 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -899,7 +899,9 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo if (_vm->getVersion() >= 4 && !isButtonLabel) height = textCast->initialRect.bottom; height += textShadow; - int width = _sprites[spriteId]->_width; + // 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; if (_vm->_currentScore->_fontMap.contains(textCast->fontId)) { |