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