diff options
author | Max Horn | 2004-06-27 22:04:19 +0000 |
---|---|---|
committer | Max Horn | 2004-06-27 22:04:19 +0000 |
commit | a461c7550e2260601a63cd113a31254f2fd3ef50 (patch) | |
tree | c8b1c86e2a67bb2a5967af106dde7c1abff2efb8 | |
parent | b7f9e2137bcccf0928c8116333db5a8a6536e94a (diff) | |
download | scummvm-rg350-a461c7550e2260601a63cd113a31254f2fd3ef50.tar.gz scummvm-rg350-a461c7550e2260601a63cd113a31254f2fd3ef50.tar.bz2 scummvm-rg350-a461c7550e2260601a63cd113a31254f2fd3ef50.zip |
irrelevant tweak, but I am a const-junkie :-)
svn-id: r14089
-rw-r--r-- | common/scaler.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/common/scaler.cpp b/common/scaler.cpp index cbbba0ac01..7557402bfa 100644 --- a/common/scaler.cpp +++ b/common/scaler.cpp @@ -143,8 +143,8 @@ void Normal2x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPit void Normal3x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch, int width, int height) { uint8 *r; - uint32 dstPitch2 = dstPitch * 2; - uint32 dstPitch3 = dstPitch * 3; + const uint32 dstPitch2 = dstPitch * 2; + const uint32 dstPitch3 = dstPitch * 3; while (height--) { r = dstPtr; |