diff options
author | Tobia Tesan | 2017-04-30 23:02:39 +0200 |
---|---|---|
committer | Eugene Sandulenko | 2017-05-02 21:01:23 +0100 |
commit | 6a741a88c98da78ca860054fce387cb66f57d5cf (patch) | |
tree | 3e66af0e7f310937bcc041759e062bf4c1c6d84a /engines | |
parent | 4ae5453af8ad35835ebecd07b9108fae4eec64a8 (diff) | |
download | scummvm-rg350-6a741a88c98da78ca860054fce387cb66f57d5cf.tar.gz scummvm-rg350-6a741a88c98da78ca860054fce387cb66f57d5cf.tar.bz2 scummvm-rg350-6a741a88c98da78ca860054fce387cb66f57d5cf.zip |
GRAPHICS: Pass interlinear as constructor argument to MacText
Diffstat (limited to 'engines')
-rw-r--r-- | engines/director/frame.cpp | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 178b8b8c21..e6a8505fea 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -786,9 +786,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, const else alignment++; - Graphics::MacText mt(stxt->_ftext, _vm->_wm, macFont, 0x00, 0xff, width, (Graphics::TextAlign)alignment); - - mt.setInterLinear(1); + Graphics::MacText mt(stxt->_ftext, _vm->_wm, macFont, 0x00, 0xff, width, (Graphics::TextAlign)alignment, 1); mt.render(); const Graphics::ManagedSurface *textSurface = mt.getSurface(); |