[Scummvm-cvs-logs] CVS: scummvm/gui launcher.cpp,1.98,1.99
Max Horn
fingolfin at users.sourceforge.net
Wed Aug 25 17:29:16 CEST 2004
Update of /cvsroot/scummvm/scummvm/gui
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv6866/gui
Modified Files:
launcher.cpp
Log Message:
Ignore case when sorting entries in the launcher
Index: launcher.cpp
===================================================================
RCS file: /cvsroot/scummvm/scummvm/gui/launcher.cpp,v
retrieving revision 1.98
retrieving revision 1.99
diff -u -d -r1.98 -r1.99
--- launcher.cpp 11 Aug 2004 21:49:57 -0000 1.98
+++ launcher.cpp 26 Aug 2004 00:27:51 -0000 1.99
@@ -458,7 +458,7 @@
// 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);
More information about the Scummvm-git-logs
mailing list