clean up
This commit is contained in:
@@ -256,18 +256,14 @@ bool MusicWheel::SelectSongOrCourse()
|
|||||||
|
|
||||||
bool MusicWheel::SelectSection( const RString & SectionName )
|
bool MusicWheel::SelectSection( const RString & SectionName )
|
||||||
{
|
{
|
||||||
unsigned int i;
|
for( unsigned int i = 0; i < m_CurWheelItemData.size(); ++i )
|
||||||
for( i=0; i<m_CurWheelItemData.size(); i++ )
|
|
||||||
{
|
|
||||||
if( m_CurWheelItemData[i]->m_sText == SectionName )
|
if( m_CurWheelItemData[i]->m_sText == SectionName )
|
||||||
{
|
{
|
||||||
m_iSelection = i; // select it
|
m_iSelection = i; // select it
|
||||||
break;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
if ( i == m_CurWheelItemData.size() )
|
|
||||||
return false;
|
|
||||||
return true;
|
return true;
|
||||||
|
}
|
||||||
|
|
||||||
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool MusicWheel::SelectSong( Song *p )
|
bool MusicWheel::SelectSong( Song *p )
|
||||||
|
|||||||
Reference in New Issue
Block a user