summaryrefslogtreecommitdiff
path: root/src/fs/virtfs/virtfszip.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-05-05 17:22:43 +0300
committerAndrei Karas <akaras@inbox.ru>2017-05-05 17:44:33 +0300
commit5aca48c5a15041a85af0709cdf1496c61c34b1dd (patch)
tree6f8c3dcf263fb20d89d51b0631d7fb06dbdff9a6 /src/fs/virtfs/virtfszip.cpp
parent979f9089199512d32dcc2de1f1e00a96aa9b0bf4 (diff)
downloadmv-5aca48c5a15041a85af0709cdf1496c61c34b1dd.tar.gz
mv-5aca48c5a15041a85af0709cdf1496c61c34b1dd.tar.bz2
mv-5aca48c5a15041a85af0709cdf1496c61c34b1dd.tar.xz
mv-5aca48c5a15041a85af0709cdf1496c61c34b1dd.zip
Rename zip into zipreader.
Diffstat (limited to 'src/fs/virtfs/virtfszip.cpp')
-rw-r--r--src/fs/virtfs/virtfszip.cpp8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/fs/virtfs/virtfszip.cpp b/src/fs/virtfs/virtfszip.cpp
index 5b3d60185..0f58dd5f5 100644
--- a/src/fs/virtfs/virtfszip.cpp
+++ b/src/fs/virtfs/virtfszip.cpp
@@ -25,7 +25,7 @@
#include "fs/virtfs/virtfsziprwops.h"
#include "fs/virtfs/virtlist.h"
#include "fs/virtfs/virtzipentry.h"
-#include "fs/virtfs/zip.h"
+#include "fs/virtfs/zipreader.h"
#include "fs/virtfs/ziplocalheader.h"
#include "utils/checkutils.h"
@@ -518,7 +518,8 @@ namespace VirtFsZip
const ZipLocalHeader *restrict const header = *it2;
if (header->fileName == filename)
{
- const uint8_t *restrict const buf = Zip::readFile(header);
+ const uint8_t *restrict const buf =
+ ZipReader::readFile(header);
if (buf == nullptr)
return nullptr;
File *restrict const file = new File(&funcs,
@@ -647,7 +648,8 @@ namespace VirtFsZip
const ZipLocalHeader *restrict const header = *it2;
if (header->fileName == filename)
{
- const uint8_t *restrict const buf = Zip::readFile(header);
+ const uint8_t *restrict const buf =
+ ZipReader::readFile(header);
if (buf == nullptr)
return nullptr;