diff options
Diffstat (limited to 'src/shared/directoryentry.cpp')
| -rw-r--r-- | src/shared/directoryentry.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/shared/directoryentry.cpp b/src/shared/directoryentry.cpp index 6351083b..67c13e54 100644 --- a/src/shared/directoryentry.cpp +++ b/src/shared/directoryentry.cpp @@ -215,7 +215,7 @@ void DirectoryEntry::addFromBSA(const std::wstring& originName, try { // read() can return an error, but it can also throw if the file is not a // valid bsa - res = archive.read(ToString(archivePath, false).c_str(), false); + res = archive.read(archivePath, false); } catch (std::exception& e) { log::error("invalid bsa '{}', error {}", archivePath, e.what()); return; |
