From c29bb1b6722b4f254ecc489c0cffd20b1418902e Mon Sep 17 00:00:00 2001 From: Eugene Sandulenko Date: Fri, 27 Jan 2017 18:47:10 +0100 Subject: JANITORIAL: Whitespace fixes --- engines/director/frame.cpp | 4 ++-- 1 file 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)); } -- cgit v1.2.3