stl-ize some stuff

This commit is contained in:
Glenn Maynard
2003-01-03 05:29:45 +00:00
parent 71d48b3d62
commit f4dbed8221
11 changed files with 43 additions and 43 deletions
+1 -1
View File
@@ -801,7 +801,7 @@ int CompareSongPointersByTitle(const Song *pSong1, const Song *pSong2)
/* The titles are the same. Ensure we get a consistent ordering
* by comparing the unique SongFilePaths. */
return pSong1->GetSongFilePath().CompareNoCase(pSong2->GetSongFilePath());
return pSong1->GetSongFilePath().CompareNoCase(pSong2->GetSongFilePath()) < 0;
}
void SortSongPointerArrayByTitle( CArray<Song*, Song*> &arraySongPointers )