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