[Scummvm-cvs-logs] SF.net SVN: scummvm:[50434] scummvm/trunk/engines/sci/graphics/screen.cpp

m_kiewitz at users.sourceforge.net m_kiewitz at users.sourceforge.net
Mon Jun 28 14:09:49 CEST 2010


Revision: 50434
          http://scummvm.svn.sourceforge.net/scummvm/?rev=50434&view=rev
Author:   m_kiewitz
Date:     2010-06-28 12:09:48 +0000 (Mon, 28 Jun 2010)

Log Message:
-----------
SCI: add const again to newWidth

Modified Paths:
--------------
    scummvm/trunk/engines/sci/graphics/screen.cpp

Modified: scummvm/trunk/engines/sci/graphics/screen.cpp
===================================================================
--- scummvm/trunk/engines/sci/graphics/screen.cpp	2010-06-28 12:04:35 UTC (rev 50433)
+++ scummvm/trunk/engines/sci/graphics/screen.cpp	2010-06-28 12:09:48 UTC (rev 50434)
@@ -594,7 +594,7 @@
 }
 
 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++) {


This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site.




More information about the Scummvm-git-logs mailing list