aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Kiewitz2010-06-28 12:09:48 +0000
committerMartin Kiewitz2010-06-28 12:09:48 +0000
commit445bfee08c6d78457514701aaa4701d7883eea15 (patch)
treecc9bf64626517684768f3e346c9f3fc1dc16289c
parent6981b943b51f4ae1348e06992e8f7333824d05c5 (diff)
downloadscummvm-rg350-445bfee08c6d78457514701aaa4701d7883eea15.tar.gz
scummvm-rg350-445bfee08c6d78457514701aaa4701d7883eea15.tar.bz2
scummvm-rg350-445bfee08c6d78457514701aaa4701d7883eea15.zip
SCI: add const again to newWidth
svn-id: r50434
-rw-r--r--engines/sci/graphics/screen.cpp2
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++) {