diff options
author | Filippos Karapetis | 2014-05-08 11:43:23 +0300 |
---|---|---|
committer | Filippos Karapetis | 2014-05-08 11:43:23 +0300 |
commit | b7dd01fdefd910c3c0f6291145ceab4060ae1a70 (patch) | |
tree | 12e16d4a4362011d5954e6020d85a9bdb0cd5e31 /engines/mads/msurface.cpp | |
parent | 2502bd89966f8b6398be4fc0428aaba1831ad530 (diff) | |
download | scummvm-rg350-b7dd01fdefd910c3c0f6291145ceab4060ae1a70.tar.gz scummvm-rg350-b7dd01fdefd910c3c0f6291145ceab4060ae1a70.tar.bz2 scummvm-rg350-b7dd01fdefd910c3c0f6291145ceab4060ae1a70.zip |
MADS: Remove trailing whitespace
Diffstat (limited to 'engines/mads/msurface.cpp')
-rw-r--r-- | engines/mads/msurface.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
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; |