From a956d5ece64b5666983364eeff151738ff430866 Mon Sep 17 00:00:00 2001 From: Max Horn Date: Thu, 26 Aug 2004 00:27:51 +0000 Subject: Ignore case when sorting entries in the launcher svn-id: r14756 --- gui/launcher.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'gui/launcher.cpp') diff --git a/gui/launcher.cpp b/gui/launcher.cpp index 37db88cfa4..54fc742268 100644 --- a/gui/launcher.cpp +++ b/gui/launcher.cpp @@ -458,7 +458,7 @@ void LauncherDialog::updateListing() { // Insert the game into the launcher list int pos = 0, size = l.size(); - while (pos < size && (description > l[pos])) + while (pos < size && (scumm_stricmp(description.c_str(), l[pos].c_str()) > 0)) pos++; l.insert_at(pos, description); _domains.insert_at(pos, iter->_key); -- cgit v1.2.3