diff options
Diffstat (limited to 'src/envfs.cpp')
| -rw-r--r-- | src/envfs.cpp | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/envfs.cpp b/src/envfs.cpp index 2716737f..80749046 100644 --- a/src/envfs.cpp +++ b/src/envfs.cpp @@ -1,4 +1,5 @@ #include "envfs.h" +#include "util.h" #include <utility.h> #include <log.h> @@ -368,7 +369,12 @@ Directory getFilesAndDirs(const std::wstring& path) [](void* pcx, std::wstring_view path, FILETIME ft) { Context* cx = (Context*)pcx; - cx->current.top()->files.push_back({std::wstring(path.begin(), path.end()), ft}); + + cx->current.top()->files.push_back({ + std::wstring(path.begin(), path.end()), + MOShared::ToLowerCopy(path), + ft + }); } ); |
