[Scummvm-cvs-logs] SF.net SVN: scummvm:[35173] scummvm/trunk/graphics/scaler.cpp
thebluegr at users.sourceforge.net
thebluegr at users.sourceforge.net
Sat Nov 29 19:19:39 CET 2008
Revision: 35173
http://scummvm.svn.sourceforge.net/scummvm/?rev=35173&view=rev
Author: thebluegr
Date: 2008-11-29 18:19:39 +0000 (Sat, 29 Nov 2008)
Log Message:
-----------
Formatting
Modified Paths:
--------------
scummvm/trunk/graphics/scaler.cpp
Modified: scummvm/trunk/graphics/scaler.cpp
===================================================================
--- scummvm/trunk/graphics/scaler.cpp 2008-11-29 18:01:16 UTC (rev 35172)
+++ scummvm/trunk/graphics/scaler.cpp 2008-11-29 18:19:39 UTC (rev 35173)
@@ -127,9 +127,8 @@
*/
void Normal1x(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr, uint32 dstPitch,
int width, int height) {
- /* Spot the case when it can all be done in 1 hit */
- if (((int)srcPitch == 2*width) && ((int)dstPitch == 2*width))
- {
+ // Spot the case when it can all be done in 1 hit
+ if (((int)srcPitch == 2 * width) && ((int)dstPitch == 2 * width)) {
width *= height;
height = 1;
}
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