From 52eb9295385d8358f4d8d84c638e3a26de14b0d1 Mon Sep 17 00:00:00 2001 From: Glenn Maynard Date: Mon, 2 May 2005 21:21:39 +0000 Subject: [PATCH] CompareNoCase has less predictable and harder to troubleshoot locale- specific sorting behavior. We only want UTF-8 sorting, and MakeSortString uppercases the titles anyway. --- stepmania/src/SongUtil.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/stepmania/src/SongUtil.cpp b/stepmania/src/SongUtil.cpp index e0fe959563..452d5da372 100644 --- a/stepmania/src/SongUtil.cpp +++ b/stepmania/src/SongUtil.cpp @@ -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;