code cleanup

This commit is contained in:
Chris Danford
2002-02-24 01:43:11 +00:00
parent f2a7f50634
commit 54f442350a
36 changed files with 1019 additions and 1568 deletions
+7 -11
View File
@@ -163,18 +163,14 @@ protected:
{
case SORT_GROUP:
sTemp = pSong->GetGroupName();
sTemp.MakeUpper();
sTemp = (sTemp.GetLength() > 0) ? sTemp : "";
if( IsAnInt(sTemp) )
sTemp = "NUM";
return sTemp;
case SORT_ARTIST:
sTemp = pSong->GetArtist();
sTemp.MakeUpper();
sTemp = (sTemp.GetLength() > 0) ? sTemp.Left(1) : "";
if( IsAnInt(sTemp) )
sTemp = "NUM";
return sTemp;
// case SORT_ARTIST:
// sTemp = pSong->GetArtist();
// sTemp.MakeUpper();
// sTemp = (sTemp.GetLength() > 0) ? sTemp.Left(1) : "";
// if( IsAnInt(sTemp) )
// sTemp = "NUM";
// return sTemp;
case SORT_TITLE:
sTemp = pSong->GetTitle();
sTemp.MakeUpper();