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:
Diffstat (limited to 'CPP/7zip/UI/FileManager/PanelListNotify.cpp')
-rwxr-xr-xCPP/7zip/UI/FileManager/PanelListNotify.cpp7
1 files changed, 4 insertions, 3 deletions
diff --git a/CPP/7zip/UI/FileManager/PanelListNotify.cpp b/CPP/7zip/UI/FileManager/PanelListNotify.cpp
index 43d7981b..2051b5c6 100755
--- a/CPP/7zip/UI/FileManager/PanelListNotify.cpp
+++ b/CPP/7zip/UI/FileManager/PanelListNotify.cpp
@@ -149,9 +149,10 @@ LRESULT CPanel::SetItemText(LVITEMW &item)
if (needRead)
*/
- if (_folder->GetProperty(realIndex, propID, &prop) != S_OK)
- throw 2723407;
-
+ HRESULT res = _folder->GetProperty(realIndex, propID, &prop);
+ if (res != S_OK)
+ s = UString(L"Error: ") + HResultToMessage(res);
+ else
if ((prop.vt == VT_UI8 || prop.vt == VT_UI4) && (
propID == kpidSize ||
propID == kpidPackSize ||