aboutsummaryrefslogtreecommitdiff
path: root/engines/access/asurface.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'engines/access/asurface.cpp')
-rw-r--r--engines/access/asurface.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/access/asurface.cpp b/engines/access/asurface.cpp
index 4202ed098f..cd872e04b2 100644
--- a/engines/access/asurface.cpp
+++ b/engines/access/asurface.cpp
@@ -55,11 +55,11 @@ SpriteFrame::SpriteFrame(AccessEngine *vm, Common::SeekableReadStream *stream, i
int xSize = stream->readUint16LE();
int ySize = stream->readUint16LE();
create(xSize, ySize);
-
+
// Empty surface
byte *data = (byte *)getPixels();
Common::fill(data, data + w * h, 0);
-
+
// Decode the data
for (int y = 0; y < h; ++y) {
int offset = stream->readByte();
@@ -225,7 +225,7 @@ void ASurface::copyTo(ASurface *dest, const Common::Rect &bounds) {
int scaleXCtr = 0, scaleYCtr = 0;
for (int yCtr = 0, destY = bounds.top; yCtr < this->h; ++yCtr) {
- // Handle skipping lines if Y scaling
+ // Handle skipping lines if Y scaling
scaleYCtr += scaleY;
if (scaleYCtr < SCALE_LIMIT)
continue;