From 37a136a4b882b7848ee84ca4863c8a3967b7a3ca Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Fri, 21 Oct 2005 02:51:44 +0000 Subject: [PATCH] cleanup --- stepmania/src/RageSurfaceUtils.cpp | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/stepmania/src/RageSurfaceUtils.cpp b/stepmania/src/RageSurfaceUtils.cpp index 25852d9b64..2633b52aea 100644 --- a/stepmania/src/RageSurfaceUtils.cpp +++ b/stepmania/src/RageSurfaceUtils.cpp @@ -653,12 +653,12 @@ static bool blit_generic( const RageSurface *src_surf, const RageSurface *dst_su /* Blit src onto dst. */ void RageSurfaceUtils::Blit( const RageSurface *src, RageSurface *dst, int width, int height ) { - if(width == -1) + if( width == -1 ) width = src->w; - if(height == -1) + if( height == -1 ) height = src->h; - width = min(src->w, dst->w); - height = min(src->h, dst->h); + width = min( src->w, dst->w ); + height = min( src->h, dst->h ); /* Try each blit until we find one that works; run them in order of efficiency, * so we use the fastest blit possible. */