diff options
| author | Johannes Schickel | 2009-11-21 20:18:51 +0000 |
|---|---|---|
| committer | Johannes Schickel | 2009-11-21 20:18:51 +0000 |
| commit | aad8e8a2a218209e191f08b7ca415a0121d3f4d1 (patch) | |
| tree | ae39921244cf8ed8a4669881167bbeb87e58d6bb | |
| parent | 9297e62aed73f313f932276f392e68e17cfc04b6 (diff) | |
| download | scummvm-rg350-aad8e8a2a218209e191f08b7ca415a0121d3f4d1.tar.gz scummvm-rg350-aad8e8a2a218209e191f08b7ca415a0121d3f4d1.tar.bz2 scummvm-rg350-aad8e8a2a218209e191f08b7ca415a0121d3f4d1.zip | |
Add comment why pattern is converted to lowercase in FSDirectory::listMatchingMembers.
svn-id: r46045
| -rw-r--r-- | common/fs.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/common/fs.cpp b/common/fs.cpp index fac4dae733..12f0ea98ef 100644 --- a/common/fs.cpp +++ b/common/fs.cpp @@ -314,6 +314,8 @@ int FSDirectory::listMatchingMembers(ArchiveMemberList &list, const String &patt // Cache dir data ensureCached(); + // need to match lowercase key, since all entries in our file cache are + // stored as lowercase. String lowercasePattern(pattern); lowercasePattern.toLowercase(); |
