diff options
Diffstat (limited to 'CPP/7zip/UI/FileManager/PanelListNotify.cpp')
-rwxr-xr-x | CPP/7zip/UI/FileManager/PanelListNotify.cpp | 7 |
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 || |