From 2ca4a39a1ee3fa5a7c0c8168ea53727dda87c222 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Sun, 12 Aug 2007 20:34:37 +0000 Subject: [PATCH] style --- stepmania/src/StepsUtil.cpp | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/stepmania/src/StepsUtil.cpp b/stepmania/src/StepsUtil.cpp index 2989255ab3..b98dada954 100644 --- a/stepmania/src/StepsUtil.cpp +++ b/stepmania/src/StepsUtil.cpp @@ -266,23 +266,23 @@ Steps *StepsID::ToSteps( const Song *p, bool bAllowNull, bool bUseCache ) const return it->second; } - Steps *ret = NULL; + Steps *pRet = NULL; if( dc == Difficulty_Edit ) { - ret = SongUtil::GetOneSteps( p, st, dc, -1, -1, sDescription, uHash, true ); + pRet = SongUtil::GetOneSteps( p, st, dc, -1, -1, sDescription, uHash, true ); } else { - ret = SongUtil::GetOneSteps( p, st, dc, -1, -1, "", 0, true ); + pRet = SongUtil::GetOneSteps( p, st, dc, -1, -1, "", 0, true ); } - if( !bAllowNull && ret == NULL ) + if( !bAllowNull && pRet == NULL ) FAIL_M( ssprintf("%i, %i, \"%s\"", st, dc, sDescription.c_str()) ); if( bUseCache ) - g_Cache[sas] = ret; + g_Cache[sas] = pRet; - return ret; + return pRet; } XNode* StepsID::CreateNode() const