mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-07 13:15:04 -06:00
4.60 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
173c07e166
commit
c10e6b16f6
@@ -93,9 +93,7 @@ STDMETHODIMP CUpdateCallback100Imp::CryptoGetTextPassword2(Int32 *passwordIsDefi
|
||||
*/
|
||||
}
|
||||
*passwordIsDefined = BoolToInt(_passwordIsDefined);
|
||||
CMyComBSTR tempName = _password;
|
||||
*password = tempName.Detach();
|
||||
return S_OK;
|
||||
return StringToBstr(_password, password);
|
||||
}
|
||||
|
||||
STDMETHODIMP CUpdateCallback100Imp::SetTotal(const UInt64 * /* files */, const UInt64 * /* bytes */)
|
||||
@@ -112,8 +110,5 @@ STDMETHODIMP CUpdateCallback100Imp::CryptoGetTextPassword(BSTR *password)
|
||||
{
|
||||
if (!_passwordIsDefined)
|
||||
return S_FALSE;
|
||||
CMyComBSTR tempName = _password;
|
||||
*password = tempName.Detach();
|
||||
return S_OK;
|
||||
return StringToBstr(_password, password);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user