From 9284021d2a9dc25d683b2bb9ea093fa21f7c5392 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 13 Aug 2007 19:21:21 +0000 Subject: [PATCH] style --- stepmania/src/SongManager.cpp | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index 6fb47b0ee3..d9dda6484e 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -579,14 +579,14 @@ int SongManager::GetNumSongs() const int SongManager::GetNumUnlockedSongs() const { - int num = 0; + int iNum = 0; FOREACH_CONST( Song*, m_pSongs, i ) { if( UNLOCKMAN->SongIsLocked( *i ) ) continue; - num++; + ++iNum; } - return num; + return iNum; } int SongManager::GetNumSelectableAndUnlockedSongs() const @@ -598,7 +598,7 @@ int SongManager::GetNumSelectableAndUnlockedSongs() const continue; if( (*i)->GetDisplayed() != Song::SHOW_ALWAYS ) continue; - iNum++; + ++iNum; } return iNum; } @@ -609,7 +609,7 @@ int SongManager::GetNumAdditionalSongs() const FOREACH_CONST( Song*, m_pSongs, i ) { if( WasLoadedFromAdditionalSongs( *i ) ) - iNum++; + ++iNum; } return iNum; } @@ -626,13 +626,13 @@ int SongManager::GetNumCourses() const int SongManager::GetNumAdditionalCourses() const { - int num = 0; + int iNum = 0; FOREACH_CONST( Course*, m_pCourses, i ) { if( WasLoadedFromAdditionalCourses( *i ) ) - num++; + ++iNum; } - return num; + return iNum; } int SongManager::GetNumCourseGroups() const @@ -646,7 +646,7 @@ int SongManager::GetNumEditCourses( ProfileSlot slot ) const FOREACH_CONST( Course*, m_pCourses, p ) { if( (*p)->GetLoadedFromProfileSlot() == slot ) - iNum++; + ++iNum; } return iNum; }