UefiHandler.cpp (p7zip_15.14.1_src_all) | : | UefiHandler.cpp (p7zip_16.02_src_all) | ||
---|---|---|---|---|
skipping to change at line 703 | skipping to change at line 703 | |||
const CItem2 &item2 = _items2[index]; | const CItem2 &item2 = _items2[index]; | |||
const CItem &item = _items[item2.MainIndex]; | const CItem &item = _items[item2.MainIndex]; | |||
switch (propID) | switch (propID) | |||
{ | { | |||
case kpidPath: | case kpidPath: | |||
{ | { | |||
AString path = item2.Name; | AString path = item2.Name; | |||
int cur = item2.Parent; | int cur = item2.Parent; | |||
while (cur >= 0) | while (cur >= 0) | |||
{ | { | |||
const CItem2 &item2 = _items2[cur]; | const CItem2 &item3 = _items2[cur]; | |||
path = item2.Name + CHAR_PATH_SEPARATOR + path; | path.InsertAtFront(CHAR_PATH_SEPARATOR); | |||
cur = item2.Parent; | path.Insert(0, item3.Name); | |||
cur = item3.Parent; | ||||
} | } | |||
prop = path; | prop = path; | |||
break; | break; | |||
} | } | |||
case kpidIsDir: prop = item.IsDir; break; | case kpidIsDir: prop = item.IsDir; break; | |||
case kpidMethod: if (item.Method >= 0) prop = g_Methods[(unsigned)item.Metho d]; break; | case kpidMethod: if (item.Method >= 0) prop = g_Methods[(unsigned)item.Metho d]; break; | |||
case kpidCharacts: if (!item2.Characts.IsEmpty()) prop = item2.Characts; bre ak; | case kpidCharacts: if (!item2.Characts.IsEmpty()) prop = item2.Characts; bre ak; | |||
case kpidSize: if (!item.IsDir) prop = (UInt64)item.Size; break; | case kpidSize: if (!item.IsDir) prop = (UInt64)item.Size; break; | |||
} | } | |||
prop.Detach(value); | prop.Detach(value); | |||
End of changes. 1 change blocks. | ||||
3 lines changed or deleted | 4 lines changed or added |