diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2014-12-07 03:00:00 +0300 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:16:53 +0300 |
commit | 0dc16c691d208c904468ba4a2779bbe3a2b4dc4b (patch) | |
tree | e6c76818cdba9cfa21764d81abfc960b580b1f0b /CPP/7zip/UI/Agent | |
parent | f08f4dcc3c02464c17753b3feafcfe5243b9e236 (diff) |
9.359.35
Diffstat (limited to 'CPP/7zip/UI/Agent')
-rw-r--r-- | CPP/7zip/UI/Agent/Agent.cpp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/CPP/7zip/UI/Agent/Agent.cpp b/CPP/7zip/UI/Agent/Agent.cpp index e4f46f0a..d8221754 100644 --- a/CPP/7zip/UI/Agent/Agent.cpp +++ b/CPP/7zip/UI/Agent/Agent.cpp @@ -195,6 +195,8 @@ STDMETHODIMP_(UInt64) CAgentFolder::GetItemSize(UInt32 index) const CProxyFolder &item = _proxyArchive->Folders[folder->Folders[realIndex]]; if (!_flatMode) return item.Size; + if (!item.IsLeaf) + return 0; arcIndex = item.Index; } else |