diff -ur common/fs.cpp common/fs.cpp
|
|
|
198 | 198 | FSList entries; |
199 | 199 | FSList children; |
200 | 200 | int matches = 0; |
| 201 | pattern.toUppercase(); |
201 | 202 | dir.getChildren(entries, FilesystemNode::kListAll, hidden); |
202 | 203 | |
203 | 204 | //Breadth search (entries in the same level) |
… |
… |
|
205 | 206 | if (entry->isDirectory()) { |
206 | 207 | children.push_back(*entry); |
207 | 208 | } else { |
208 | | if (Common::matchString(entry->getName().c_str(), pattern.c_str())) { |
| 209 | Common::String filename = entry->getName(); |
| 210 | filename.toUppercase(); |
| 211 | if (Common::matchString(filename.c_str(), pattern.c_str())) { |
209 | 212 | results.push_back(*entry); |
210 | 213 | matches++; |
211 | 214 | |