CompareNoCase has less predictable and harder to troubleshoot locale-

specific sorting behavior.  We only want UTF-8 sorting, and MakeSortString
uppercases the titles anyway.
This commit is contained in:
Glenn Maynard
2005-05-02 21:21:39 +00:00
parent 633aa6f779
commit 52eb929538
+1 -1
View File
@@ -61,7 +61,7 @@ bool CompareSongPointersByTitle(const Song *pSong1, const Song *pSong2)
s1 = SongUtil::MakeSortString(s1);
s2 = SongUtil::MakeSortString(s2);
int ret = s1.CompareNoCase( s2 );
int ret = strcmp( s1, s2 );
if(ret < 0) return true;
if(ret > 0) return false;