aboutsummaryrefslogtreecommitdiff
path: root/backends
diff options
context:
space:
mode:
authorMax Horn2004-07-21 14:27:45 +0000
committerMax Horn2004-07-21 14:27:45 +0000
commitbe31329d05c77c5eee3537911567ecd1803c7ea2 (patch)
treec7efa3b2ee0b75d8acbe5b3872b122f88d2b8936 /backends
parent0605918ab412f3424450f11f8582dfb4c4940208 (diff)
downloadscummvm-rg350-be31329d05c77c5eee3537911567ecd1803c7ea2.tar.gz
scummvm-rg350-be31329d05c77c5eee3537911567ecd1803c7ea2.tar.bz2
scummvm-rg350-be31329d05c77c5eee3537911567ecd1803c7ea2.zip
Ignore case when sorting file system nodes
svn-id: r14294
Diffstat (limited to 'backends')
-rw-r--r--backends/fs/fs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/backends/fs/fs.h b/backends/fs/fs.h
index 8719c1d2bf..2f7e4fa4cd 100644
--- a/backends/fs/fs.h
+++ b/backends/fs/fs.h
@@ -141,7 +141,7 @@ public:
*/
virtual bool operator< (const FilesystemNode& node) const
{
- return displayName() < node.displayName();
+ return scumm_stricmp(displayName().c_str(), node.displayName().c_str()) < 0;
}
};