diff options
author | Igor Pavlov <ipavlov@users.sourceforge.net> | 2007-07-11 04:00:00 +0400 |
---|---|---|
committer | Kornel LesiĆski <kornel@geekhood.net> | 2016-05-28 02:15:52 +0300 |
commit | 7038848692e7049234f223703522681a19db49a5 (patch) | |
tree | 38c5acef39a775a1f58f81b13be81fc6ef8c72e3 /CPP/7zip/UI/Far/ExtractEngine.cpp | |
parent | fd8b1d78b496fe38193bf8c5e86af3b43f0b022d (diff) |
4.49 beta
Diffstat (limited to 'CPP/7zip/UI/Far/ExtractEngine.cpp')
-rwxr-xr-x | CPP/7zip/UI/Far/ExtractEngine.cpp | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/CPP/7zip/UI/Far/ExtractEngine.cpp b/CPP/7zip/UI/Far/ExtractEngine.cpp index a71d22b8..d9499a04 100755 --- a/CPP/7zip/UI/Far/ExtractEngine.cpp +++ b/CPP/7zip/UI/Far/ExtractEngine.cpp @@ -57,7 +57,7 @@ STDMETHODIMP CExtractCallBackImp::SetCompleted(const UINT64 *completeValue) STDMETHODIMP CExtractCallBackImp::AskOverwrite( const wchar_t *existName, const FILETIME *existTime, const UINT64 *existSize, - const wchar_t *newName, const FILETIME *aNewTime, const UINT64 *newSize, + const wchar_t *newName, const FILETIME *newTime, const UINT64 *newSize, INT32 *answer) { NOverwriteDialog::CFileInfo oldFileInfo, newFileInfo; @@ -67,8 +67,9 @@ STDMETHODIMP CExtractCallBackImp::AskOverwrite( oldFileInfo.Size = *existSize; oldFileInfo.Name = GetSystemString(existName, m_CodePage); - - newFileInfo.Time = *aNewTime; + newFileInfo.TimeIsDefined = (newTime != 0); + if (newFileInfo.TimeIsDefined) + newFileInfo.Time = *newTime; newFileInfo.SizeIsDefined = (newSize != NULL); if (newFileInfo.SizeIsDefined) |