diff options
Diffstat (limited to 'CPP/7zip/Archive/Cab/CabIn.h')
-rw-r--r-- | CPP/7zip/Archive/Cab/CabIn.h | 13 |
1 files changed, 12 insertions, 1 deletions
diff --git a/CPP/7zip/Archive/Cab/CabIn.h b/CPP/7zip/Archive/Cab/CabIn.h index 4fdab77b..baeeb7b2 100644 --- a/CPP/7zip/Archive/Cab/CabIn.h +++ b/CPP/7zip/Archive/Cab/CabIn.h @@ -17,6 +17,12 @@ struct COtherArc { AString FileName; AString DiskName; + + void Clear() + { + FileName.Empty(); + DiskName.Empty(); + } }; struct CArchInfo @@ -43,7 +49,9 @@ struct CArchInfo CArchInfo() { - Clear(); + PerCabinet_AreaSize = 0; + PerFolder_AreaSize = 0; + PerDataBlock_AreaSize = 0; } void Clear() @@ -51,6 +59,9 @@ struct CArchInfo PerCabinet_AreaSize = 0; PerFolder_AreaSize = 0; PerDataBlock_AreaSize = 0; + + PrevArc.Clear(); + NextArc.Clear(); } }; |