From 829409452d85cd6dd9dfc9151f109d6e13a2bb1c Mon Sep 17 00:00:00 2001 From: Igor Pavlov Date: Tue, 2 Jun 2009 00:00:00 +0000 Subject: 9.04 beta --- CPP/7zip/UI/GUI/ExtractGUI.cpp | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) (limited to 'CPP/7zip/UI/GUI/ExtractGUI.cpp') diff --git a/CPP/7zip/UI/GUI/ExtractGUI.cpp b/CPP/7zip/UI/GUI/ExtractGUI.cpp index a03bd77a..95864d2c 100755 --- a/CPP/7zip/UI/GUI/ExtractGUI.cpp +++ b/CPP/7zip/UI/GUI/ExtractGUI.cpp @@ -2,26 +2,27 @@ #include "StdAfx.h" -#include "ExtractGUI.h" - -#include "Common/StringConvert.h" #include "Common/IntToString.h" +#include "Common/StringConvert.h" -#include "Windows/FileDir.h" #include "Windows/Error.h" +#include "Windows/FileDir.h" #include "Windows/FileFind.h" #include "Windows/Thread.h" -#include "../FileManager/FormatUtils.h" #include "../FileManager/ExtractCallback.h" +#include "../FileManager/FormatUtils.h" #include "../FileManager/LangUtils.h" #include "../Common/ArchiveExtractCallback.h" +#include "../Common/PropIDUtils.h" + #include "../Explorer/MyMessages.h" + #include "resource.h" #include "ExtractRes.h" - #include "ExtractDialog.h" +#include "ExtractGUI.h" using namespace NWindows; @@ -198,6 +199,16 @@ HRESULT ExtractGUI( AddValuePair(IDS_FILES_COLON, 0x02000320, extracter.Stat.NumFiles, s); AddSizePair(IDS_SIZE_COLON, 0x02000322, extracter.Stat.UnpackSize, s); AddSizePair(IDS_COMPRESSED_COLON, 0x02000323, extracter.Stat.PackSize, s); + + if (options.CalcCrc) + { + wchar_t temp[16]; + ConvertUInt32ToHex(extracter.Stat.CrcSum, temp); + s += L"CRC: "; + s += temp; + s += L"\n"; + } + s += L"\n"; s += LangString(IDS_MESSAGE_NO_ERRORS, 0x02000608); @@ -209,5 +220,3 @@ HRESULT ExtractGUI( throw extracter.ErrorMessage; return extracter.Result; } - - -- cgit v1.2.3