From b7dd01fdefd910c3c0f6291145ceab4060ae1a70 Mon Sep 17 00:00:00 2001 From: Filippos Karapetis Date: Thu, 8 May 2014 11:43:23 +0300 Subject: MADS: Remove trailing whitespace --- engines/mads/msurface.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'engines/mads/msurface.cpp') diff --git a/engines/mads/msurface.cpp b/engines/mads/msurface.cpp index 64b3ae1f23..5d1e948f77 100644 --- a/engines/mads/msurface.cpp +++ b/engines/mads/msurface.cpp @@ -37,10 +37,10 @@ MSurface::MSurface() { _freeFlag = false; } -MSurface::MSurface(int width, int height) { +MSurface::MSurface(int width, int height) { pixels = nullptr; _freeFlag = false; - setSize(width, height); + setSize(width, height); } MSurface::~MSurface() { @@ -203,7 +203,7 @@ void MSurface::drawSprite(const Common::Point &pt, SpriteInfo &info, const Commo } } - + delete[] scaledLineBuf; } @@ -212,10 +212,10 @@ void MSurface::empty() { Common::fill(getBasePtr(0, 0), getBasePtr(0, h), 0); } -void MSurface::copyFrom(MSurface *src, const Common::Rect &srcBounds, +void MSurface::copyFrom(MSurface *src, const Common::Rect &srcBounds, const Common::Point &destPos, int transparentColor) { - // Validation of the rectangle and position - int destX = destPos.x, destY = destPos.y; + // Validation of the rectangle and position + int destX = destPos.x, destY = destPos.y; if ((destX >= w) || (destY >= h)) return; -- cgit v1.2.3