aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--engines/sci/graphics/screen.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/engines/sci/graphics/screen.cpp b/engines/sci/graphics/screen.cpp
index 8cda42e9aa..eee6898a23 100644
--- a/engines/sci/graphics/screen.cpp
+++ b/engines/sci/graphics/screen.cpp
@@ -594,9 +594,9 @@ void GfxScreen::debugShowMap(int mapNo) {
}
void GfxScreen::scale2x(const byte *src, byte *dst, int16 srcWidth, int16 srcHeight) {
- const int newWidth = srcWidth * 2;
- const byte *srcPtr = src;
-
+ const int newWidth = srcWidth * 2;
+ const byte *srcPtr = src;
+
for (int y = 0; y < srcHeight; y++) {
for (int x = 0; x < srcWidth; x++) {
const byte color = *srcPtr++;