diff options
author | Max Horn | 2004-07-21 14:27:45 +0000 |
---|---|---|
committer | Max Horn | 2004-07-21 14:27:45 +0000 |
commit | be31329d05c77c5eee3537911567ecd1803c7ea2 (patch) | |
tree | c7efa3b2ee0b75d8acbe5b3872b122f88d2b8936 /backends/fs/fs.h | |
parent | 0605918ab412f3424450f11f8582dfb4c4940208 (diff) | |
download | scummvm-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/fs/fs.h')
-rw-r--r-- | backends/fs/fs.h | 2 |
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; } }; |