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 '7zip/UI/GUI/GUI.cpp')
-rwxr-xr-x7zip/UI/GUI/GUI.cpp9
1 files changed, 2 insertions, 7 deletions
diff --git a/7zip/UI/GUI/GUI.cpp b/7zip/UI/GUI/GUI.cpp
index 51a6250b..9f3ea7a4 100755
--- a/7zip/UI/GUI/GUI.cpp
+++ b/7zip/UI/GUI/GUI.cpp
@@ -99,14 +99,9 @@ int Main2()
options.ArchivePathsFullSorted,
options.WildcardCensor.Pairs.Front().Head,
eo, options.ShowDialog, &openCallback, ecs);
- if (result == S_FALSE)
- {
- MyMessageBox(IDS_OPEN_IS_NOT_SUPORTED_ARCHIVE, 0x02000604);
- return NExitCode::kFatalError;
- }
- else if (result != S_OK)
+ if (result != S_OK)
throw CSystemException(result);
- if (ecs->Messages.Size() > 0)
+ if (ecs->Messages.Size() > 0 || ecs->NumArchiveErrors != 0)
return NExitCode::kFatalError;
}
else if (options.Command.IsFromUpdateGroup())