aboutsummaryrefslogtreecommitdiff
path: root/engines
diff options
context:
space:
mode:
authorTobia Tesan2017-04-30 23:02:39 +0200
committerEugene Sandulenko2017-05-02 21:01:23 +0100
commit6a741a88c98da78ca860054fce387cb66f57d5cf (patch)
tree3e66af0e7f310937bcc041759e062bf4c1c6d84a /engines
parent4ae5453af8ad35835ebecd07b9108fae4eec64a8 (diff)
downloadscummvm-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.cpp4
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();