aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFilippos Karapetis2008-11-29 18:19:39 +0000
committerFilippos Karapetis2008-11-29 18:19:39 +0000
commitfead4f304f2034de410564e113cef20563018d26 (patch)
tree6cd66d2a07e90608fdf13d86bb7ff1233ca8b12c
parent8f3b2e9b4d9f1f82682e1eed018153091cddee9f (diff)
downloadscummvm-rg350-fead4f304f2034de410564e113cef20563018d26.tar.gz
scummvm-rg350-fead4f304f2034de410564e113cef20563018d26.tar.bz2
scummvm-rg350-fead4f304f2034de410564e113cef20563018d26.zip
Formatting
svn-id: r35173
-rw-r--r--graphics/scaler.cpp5
1 files changed, 2 insertions, 3 deletions
diff --git a/graphics/scaler.cpp b/graphics/scaler.cpp
index 868ecb6ab7..9e8e58180d 100644
--- a/graphics/scaler.cpp
+++ b/graphics/scaler.cpp
@@ -127,9 +127,8 @@ void DestroyScalers(){
*/
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;
}