[Scummvm-cvs-logs] SF.net SVN: scummvm: [29348] scummvm/trunk/graphics/dxa_player.cpp
eriktorbjorn at users.sourceforge.net
eriktorbjorn at users.sourceforge.net
Wed Oct 31 23:44:09 CET 2007
Revision: 29348
http://scummvm.svn.sourceforge.net/scummvm/?rev=29348&view=rev
Author: eriktorbjorn
Date: 2007-10-31 15:44:08 -0700 (Wed, 31 Oct 2007)
Log Message:
-----------
Indentation.
Modified Paths:
--------------
scummvm/trunk/graphics/dxa_player.cpp
Modified: scummvm/trunk/graphics/dxa_player.cpp
===================================================================
--- scummvm/trunk/graphics/dxa_player.cpp 2007-10-31 21:37:40 UTC (rev 29347)
+++ scummvm/trunk/graphics/dxa_player.cpp 2007-10-31 22:44:08 UTC (rev 29348)
@@ -32,20 +32,20 @@
#endif
static void scaleUpBy2(byte *dst, byte *src, uint16 width, uint16 h) {
- uint16 x;
+ uint16 x;
- while (h > 0) {
- for (x = width; x > 0; x--) {
- register byte v;
+ while (h > 0) {
+ for (x = width; x > 0; x--) {
+ register byte v;
- v = *src++;
- *dst++ = v;
- *dst++ = v;
- }
- memcpy(dst, dst - width * 2, width * 2);
- dst += width * 2;
- h--;
- }
+ v = *src++;
+ *dst++ = v;
+ *dst++ = v;
+ }
+ memcpy(dst, dst - width * 2, width * 2);
+ dst += width * 2;
+ h--;
+ }
}
namespace Graphics {
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