aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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;
}
};