aboutsummaryrefslogtreecommitdiff
path: root/gui/launcher.cpp
diff options
context:
space:
mode:
authorMax Horn2004-08-26 00:27:51 +0000
committerMax Horn2004-08-26 00:27:51 +0000
commita956d5ece64b5666983364eeff151738ff430866 (patch)
tree33732886d1e5dbebe909dd535a3c8e991bd3b3ad /gui/launcher.cpp
parent18758f1b9426b3bd51556e085951e1cb95b6a4f5 (diff)
downloadscummvm-rg350-a956d5ece64b5666983364eeff151738ff430866.tar.gz
scummvm-rg350-a956d5ece64b5666983364eeff151738ff430866.tar.bz2
scummvm-rg350-a956d5ece64b5666983364eeff151738ff430866.zip
Ignore case when sorting entries in the launcher
svn-id: r14756
Diffstat (limited to 'gui/launcher.cpp')
-rw-r--r--gui/launcher.cpp2
1 files changed, 1 insertions, 1 deletions
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);