From b78ea78dea4a6650d88f76661d932e7abc70226d Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Thu, 19 May 2005 20:32:10 +0000 Subject: [PATCH] style fix --- stepmania/src/SongManager.cpp | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/stepmania/src/SongManager.cpp b/stepmania/src/SongManager.cpp index c1e6392696..1ee00151ae 100644 --- a/stepmania/src/SongManager.cpp +++ b/stepmania/src/SongManager.cpp @@ -1151,22 +1151,20 @@ void SongManager::SortSongs() void SongManager::UpdateRankingCourses() { - /* Updating the ranking courses data is fairly expensive - * since it involves comparing strings. Do so sparingly. - */ + /* Updating the ranking courses data is fairly expensive + * since it involves comparing strings. Do so sparingly. */ CStringArray RankingCourses; - split( THEME->GetMetric("ScreenRanking","CoursesToShow"),",", RankingCourses); - for(unsigned i=0; i < m_pCourses.size(); i++) + for( unsigned i=0; i < m_pCourses.size(); i++ ) { - if (m_pCourses[i]->GetEstimatedNumStages() > 7) + if( m_pCourses[i]->GetEstimatedNumStages() > 7 ) m_pCourses[i]->m_SortOrder_Ranking = 3; else m_pCourses[i]->m_SortOrder_Ranking = 2; - for(unsigned j = 0; j < RankingCourses.size(); j++) - if (!RankingCourses[j].CompareNoCase(m_pCourses[i]->m_sPath)) + for( unsigned j = 0; j < RankingCourses.size(); j++ ) + if( !RankingCourses[j].CompareNoCase(m_pCourses[i]->m_sPath) ) m_pCourses[i]->m_SortOrder_Ranking = 1; } }