diff options
author | Eugene Sandulenko | 2017-01-27 18:47:10 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-01-27 18:47:10 +0100 |
commit | c29bb1b6722b4f254ecc489c0cffd20b1418902e (patch) | |
tree | b68ea492faeef8920109d8410964f45dbaa3fd25 /engines/director | |
parent | 7808005841a2dfeeef61692ea391486d533d9f21 (diff) | |
download | scummvm-rg350-c29bb1b6722b4f254ecc489c0cffd20b1418902e.tar.gz scummvm-rg350-c29bb1b6722b4f254ecc489c0cffd20b1418902e.tar.bz2 scummvm-rg350-c29bb1b6722b4f254ecc489c0cffd20b1418902e.zip |
JANITORIAL: Whitespace fixes
Diffstat (limited to 'engines/director')
-rw-r--r-- | engines/director/frame.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/engines/director/frame.cpp b/engines/director/frame.cpp index 1dce3113da..68c7cdd03d 100644 --- a/engines/director/frame.cpp +++ b/engines/director/frame.cpp @@ -911,7 +911,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo textY += padding / 2; } - if (textCast->textAlign == kTextAlignRight) + if (textCast->textAlign == kTextAlignRight) textX -= 1; if (textShadow > 0) @@ -950,7 +950,7 @@ void Frame::renderText(Graphics::ManagedSurface &surface, uint16 spriteId, Commo textWithFeatures.transBlitFrom(textSurface->rawSurface(), Common::Point(textX + textShadow, textY + textShadow), 0xff); textWithFeatures.transBlitFrom(textSurface->rawSurface(), Common::Point(textX, textY), 0xff); - + inkBasedBlit(surface, textWithFeatures, spriteId, Common::Rect(x, y, x + width, y + height)); } |