diff options
author | Andrei Karas <akaras@inbox.ru> | 2017-03-07 22:02:59 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2017-03-07 22:02:59 +0300 |
commit | bbd71d4a8c95092deb9cbf4aef86722a1e9628db (patch) | |
tree | 59566c4baa2e32287fe5867e5616ca560d3f3bf5 /src/fs/virtfs/virtfszip.cpp | |
parent | 6f7f469430ea05946a11dd41f62010961be6285e (diff) | |
download | manaverse-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.tar.gz manaverse-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.tar.bz2 manaverse-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.tar.xz manaverse-bbd71d4a8c95092deb9cbf4aef86722a1e9628db.zip |
Fix unit tests on windows.
Diffstat (limited to 'src/fs/virtfs/virtfszip.cpp')
-rw-r--r-- | src/fs/virtfs/virtfszip.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fs/virtfs/virtfszip.cpp b/src/fs/virtfs/virtfszip.cpp index eac4a2535..0f1021793 100644 --- a/src/fs/virtfs/virtfszip.cpp +++ b/src/fs/virtfs/virtfszip.cpp @@ -136,7 +136,7 @@ namespace VirtFsZip StringVect &names) { VirtZipEntry *const zipEntry = static_cast<VirtZipEntry*>(entry); - if (dirName == "/") + if (dirName == dirSeparator) { FOR_EACH (std::vector<ZipLocalHeader*>::const_iterator, it2, |