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:
authorIgor Pavlov <ipavlov@users.sourceforge.net>2007-09-05 04:00:00 +0400
committerKornel LesiƄski <kornel@geekhood.net>2016-05-28 02:15:54 +0300
commitb67ffe691bddceb89b47dd09a60203b77a2b72ed (patch)
treee25b6c760703a068ad905040cb1e4a6428899106 /CPP/7zip/UI/Agent
parentb82f80647dd2b3890cdbebfe2aae44f7564baf5a (diff)
4.55 beta
Diffstat (limited to 'CPP/7zip/UI/Agent')
-rwxr-xr-xCPP/7zip/UI/Agent/AgentOut.cpp6
1 files changed, 4 insertions, 2 deletions
diff --git a/CPP/7zip/UI/Agent/AgentOut.cpp b/CPP/7zip/UI/Agent/AgentOut.cpp
index f2750234..956b0bbd 100755
--- a/CPP/7zip/UI/Agent/AgentOut.cpp
+++ b/CPP/7zip/UI/Agent/AgentOut.cpp
@@ -226,8 +226,10 @@ STDMETHODIMP CAgent::DoOperation(
if (updatePairs2[i].NewData)
numFiles++;
- RINOK(updateCallback100->SetNumFiles(numFiles));
-
+ if (updateCallback100)
+ {
+ RINOK(updateCallback100->SetNumFiles(numFiles));
+ }
CUpdateCallbackAgent updateCallbackAgent;
updateCallbackAgent.SetCallback(updateCallback100);