diff options
| author | Tannin <devnull@localhost> | 2014-05-28 14:14:28 +0200 |
|---|---|---|
| committer | Tannin <devnull@localhost> | 2014-05-28 14:14:28 +0200 |
| commit | 2a31eb40fbc9f68cb23755349b8c4c976d8a2bb7 (patch) | |
| tree | a8417f99acd64ecb7b57c5e20d420543f5bb69c8 /src/directoryrefresher.cpp | |
| parent | ff272dcbbdf7ae9228bde4b9ddd15a152a109fe1 (diff) | |
small bugfixes
Diffstat (limited to 'src/directoryrefresher.cpp')
| -rw-r--r-- | src/directoryrefresher.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/directoryrefresher.cpp b/src/directoryrefresher.cpp index 70bcf5b6..db68601b 100644 --- a/src/directoryrefresher.cpp +++ b/src/directoryrefresher.cpp @@ -61,8 +61,8 @@ void DirectoryRefresher::cleanStructure(DirectoryEntry *structure) } static wchar_t *dirs[] = { L"fomod" }; - for (int i = 0; i < sizeof(files) / sizeof(wchar_t*); ++i) { - structure->removeDir(dirs[i]); + for (int i = 0; i < sizeof(dirs) / sizeof(wchar_t*); ++i) { + structure->removeDir(std::wstring(dirs[i])); } } |
