Browse Source

Case-insensitive filename sort in FileSelector.

Lasse Öörni 14 years ago
parent
commit
7b89315876
1 changed files with 1 additions and 1 deletions
  1. 1 1
      Engine/UI/FileSelector.cpp

+ 1 - 1
Engine/UI/FileSelector.cpp

@@ -47,7 +47,7 @@ static bool CompareEntries(const FileSelectorEntry& lhs, const FileSelectorEntry
         return true;
     if (!lhs.directory_ && rhs.directory_)
         return false;
-    return lhs.name_ < rhs.name_;
+    return lhs.name_.Compare(rhs.name_, false) < 0;
 }
 
 OBJECTTYPESTATIC(FileSelector);