From dae21b3b3189969db665d6c187644adea7e6cc0f Mon Sep 17 00:00:00 2001 From: Kostas Nakos Date: Sat, 28 Apr 2007 17:37:41 +0000 Subject: more logical formatting for scaler code, at least for me :-) svn-id: r26660 --- backends/platform/wince/CEScaler.cpp | 61 +++++++++++++++++------------------- 1 file changed, 29 insertions(+), 32 deletions(-) (limited to 'backends') diff --git a/backends/platform/wince/CEScaler.cpp b/backends/platform/wince/CEScaler.cpp index dac46b801a..32c027f148 100644 --- a/backends/platform/wince/CEScaler.cpp +++ b/backends/platform/wince/CEScaler.cpp @@ -1,5 +1,5 @@ /* ScummVM - Scumm Interpreter - * Copyright (C) 2001-2006 The ScummVM project + * Copyright (C) 2001-2007 The ScummVM project * * This program is free software; you can redistribute it and/or * modify it under the terms of the GNU General Public License @@ -89,42 +89,39 @@ void PocketPCLandscapeAspect(const uint8 *srcPtr, uint32 srcPitch, uint8 *dstPtr unsigned int p2; uint16 * inbuf; uint16 * outbuf; - inbuf=(uint16 *)srcPtr; - outbuf=(uint16 *)dstPtr; + inbuf = (uint16 *)srcPtr; + outbuf = (uint16 *)dstPtr; uint16 srcPitch16 = (uint16)(srcPitch / sizeof(uint16)); uint16 dstPitch16 = (uint16)(dstPitch / sizeof(uint16)); - for (i=0; i<((height)/6); i++) { - for (j=0; j