diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2007-09-05 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:54 +0300 |
commit | b67ffe691bddceb89b47dd09a60203b77a2b72ed (patch) | |
tree | e25b6c760703a068ad905040cb1e4a6428899106 /CPP/7zip/UI/Agent | |
parent | b82f80647dd2b3890cdbebfe2aae44f7564baf5a (diff) |
4.55 beta
Diffstat (limited to 'CPP/7zip/UI/Agent')
-rwxr-xr-x | CPP/7zip/UI/Agent/AgentOut.cpp | 6 |
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); |