Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/kornelski/7z.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2015-01-03 03:00:00 +0300
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:16:53 +0300
commit0713a3ab803e57401f18432148b4139e5fe6e5dd (patch)
treeb66fd26676cf817f2bc2a889b6123c00da96d6d0 /CPP/7zip/Archive/7z/7zHandlerOut.cpp
parent7e021179cd9f46b5bf2d48aac84783ff431dd5ac (diff)
9.389.38
Diffstat (limited to 'CPP/7zip/Archive/7z/7zHandlerOut.cpp')
-rw-r--r--CPP/7zip/Archive/7z/7zHandlerOut.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/CPP/7zip/Archive/7z/7zHandlerOut.cpp b/CPP/7zip/Archive/7z/7zHandlerOut.cpp
index 2f6a4c37..5e113207 100644
--- a/CPP/7zip/Archive/7z/7zHandlerOut.cpp
+++ b/CPP/7zip/Archive/7z/7zHandlerOut.cpp
@@ -301,10 +301,7 @@ STDMETHODIMP CHandler::UpdateItems(ISequentialOutStream *outStream, UInt32 numIt
const CFileItem &fi = db->Files[ui.IndexInArchive];
if (!ui.NewProps)
{
- NCOM::CPropVariant prop;
- RINOK(_db.GetPath(ui.IndexInArchive, &prop));
- if (prop.vt == VT_BSTR)
- name = prop.bstrVal;
+ _db.GetPath(ui.IndexInArchive, name);
}
ui.IsDir = fi.IsDir;
ui.Size = fi.Size;