[Scummvm-cvs-logs] CVS: scummvm/common scaler.cpp,1.58,1.59
Max Horn
fingolfin at users.sourceforge.net
Sun Jun 27 15:05:00 CEST 2004
Update of /cvsroot/scummvm/scummvm/common
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv17270
Modified Files:
scaler.cpp
Log Message:
irrelevant tweak, but I am a const-junkie :-)
Index: scaler.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/common/scaler.cpp,v
retrieving revision 1.58
retrieving revision 1.59
diff -u -d -r1.58 -r1.59
--- scaler.cpp 21 May 2004 17:30:51 -0000 1.58
+++ scaler.cpp 27 Jun 2004 22:04:19 -0000 1.59
@@ -143,8 +143,8 @@
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;
More information about the Scummvm-git-logs
mailing list