super speed up of song sort switching and expand/collapse

This commit is contained in:
Chris Danford
2002-02-06 05:13:39 +00:00
parent 2949721b40
commit 0ec7b1159d
8 changed files with 147 additions and 95 deletions
+1 -1
View File
@@ -788,7 +788,7 @@ int CompareSongPointersByMostPlayed(const void *arg1, const void *arg2)
CString sFilePath1 = pSong1->GetSongFilePath(); // this is unique among songs
CString sFilePath2 = pSong2->GetSongFilePath();
if( iNumTimesPlayed1 < iNumTimesPlayed2 )
if( iNumTimesPlayed1 > iNumTimesPlayed2 )
return -1;
else if( iNumTimesPlayed1 == iNumTimesPlayed2 )
return CompareCStrings( (void*)&sFilePath1, (void*)&sFilePath2 );