From 3509dfee03769390f7be92a4c09dd734c2dc428b Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Wed, 15 Aug 2007 20:38:10 +0000 Subject: [PATCH] cleanup --- stepmania/src/RageUtil.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/stepmania/src/RageUtil.cpp b/stepmania/src/RageUtil.cpp index 27bc6402c7..41e8dab6f8 100644 --- a/stepmania/src/RageUtil.cpp +++ b/stepmania/src/RageUtil.cpp @@ -102,7 +102,7 @@ void fapproach( float& val, float other_val, float to_move ) float fmodfp(float x, float y) { x = fmodf(x, y); /* x is [-y,y] */ - x += y; /* x is [0,y*2] */ + x += y; /* x is [0,y*2] */ x = fmodf(x, y); /* x is [0,y] */ return x; } @@ -111,7 +111,7 @@ int power_of_two( int iInput ) { int iValue = 1; - while ( iValue < iInput ) + while( iValue < iInput ) iValue <<= 1; return iValue;