"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "CPP/7zip/Common/MethodProps.cpp" between
p7zip_15.14.1_src_all.tar.gz and p7zip_16.02_src_all.tar.gz

About: p7zip is a command-line file archiver with a high compression ratio (a port of the Windows program 7za.exe).

MethodProps.cpp  (p7zip_15.14.1_src_all):MethodProps.cpp  (p7zip_16.02_src_all)
skipping to change at line 402 skipping to change at line 402
HRESULT CMethodProps::ParseParamsFromPROPVARIANT(const UString &realName, const PROPVARIANT &value) HRESULT CMethodProps::ParseParamsFromPROPVARIANT(const UString &realName, const PROPVARIANT &value)
{ {
if (realName.Len() == 0) if (realName.Len() == 0)
{ {
// [empty]=method // [empty]=method
return E_INVALIDARG; return E_INVALIDARG;
} }
if (value.vt == VT_EMPTY) if (value.vt == VT_EMPTY)
{ {
// {realName}=[empty] // {realName}=[empty]
UString name, value; UString name, valueStr;
SplitParam(realName, name, value); SplitParam(realName, name, valueStr);
return SetParam(name, value); return SetParam(name, valueStr);
} }
// {realName}=value // {realName}=value
int index = FindPropIdExact(realName); int index = FindPropIdExact(realName);
if (index < 0) if (index < 0)
return E_INVALIDARG; return E_INVALIDARG;
const CNameToPropID &nameToPropID = g_NameToPropID[(unsigned)index]; const CNameToPropID &nameToPropID = g_NameToPropID[(unsigned)index];
CProp prop; CProp prop;
prop.Id = index; prop.Id = index;
 End of changes. 1 change blocks. 
3 lines changed or deleted 3 lines changed or added

Home  |  About  |  All  |  Newest  |  Fossies Dox  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTPS