allow specifying section names in PreferredSongs

This commit is contained in:
Chris Danford
2008-07-02 00:10:47 +00:00
parent aca8629e5a
commit cefafb8bc4
4 changed files with 73 additions and 39 deletions
+1 -1
View File
@@ -547,7 +547,7 @@ RString SongUtil::GetSectionNameFromSongAndSort( const Song* pSong, SortOrder so
switch( so )
{
case SORT_PREFERRED:
return RString();
return SONGMAN->SongToPreferredSortSectionName( pSong );
case SORT_GROUP:
// guaranteed not empty
return pSong->m_sGroupName;