[Scummvm-cvs-logs] SF.net SVN: scummvm: [28665] scummvm/trunk/engines/gob/driver_vga.cpp
fingolfin at users.sourceforge.net
fingolfin at users.sourceforge.net
Sun Aug 19 20:39:49 CEST 2007
Revision: 28665
http://scummvm.svn.sourceforge.net/scummvm/?rev=28665&view=rev
Author: fingolfin
Date: 2007-08-19 11:39:49 -0700 (Sun, 19 Aug 2007)
Log Message:
-----------
Fixing code formatting
Modified Paths:
--------------
scummvm/trunk/engines/gob/driver_vga.cpp
Modified: scummvm/trunk/engines/gob/driver_vga.cpp
===================================================================
--- scummvm/trunk/engines/gob/driver_vga.cpp 2007-08-19 17:26:06 UTC (rev 28664)
+++ scummvm/trunk/engines/gob/driver_vga.cpp 2007-08-19 18:39:49 UTC (rev 28665)
@@ -113,8 +113,7 @@
byte *srcPos = source->getVidMem() + (top * source->getWidth()) + left;
byte *destPos = dest->getVidMem() + (y * dest->getWidth()) + x;
- if (transp)
- {
+ if (transp) {
while (height--) {
for (int16 i = 0; i < width; ++i) {
if (srcPos[i])
@@ -124,9 +123,7 @@
srcPos += source->getWidth();
destPos += dest->getWidth();
}
- }
- else
- {
+ } else {
while (height--) {
memcpy(destPos, srcPos, width);
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