mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-06 15:14:59 -06:00
15.09
This commit is contained in:
committed by
Kornel Lesiński
parent
6543c28020
commit
a663a6deb7
@@ -40,7 +40,10 @@ HRESULT PropVarEm_Set_Str(PROPVARIANT *p, const char *s) throw()
|
||||
{
|
||||
p->bstrVal = AllocBstrFromAscii(s);
|
||||
if (p->bstrVal)
|
||||
{
|
||||
p->vt = VT_BSTR;
|
||||
return S_OK;
|
||||
}
|
||||
p->vt = VT_ERROR;
|
||||
p->scode = E_OUTOFMEMORY;
|
||||
return E_OUTOFMEMORY;
|
||||
|
||||
Reference in New Issue
Block a user