mirror of
https://github.com/Xevion/easy7zip.git
synced 2025-12-10 18:07:07 -06:00
4.26 beta
This commit is contained in:
committed by
Kornel Lesiński
parent
af1fe52701
commit
31e7b924e8
@@ -799,7 +799,11 @@ void CArchiveCommandLineParser::Parse2(CArchiveCommandLineOptions &options)
|
||||
UStringVector archivePaths;
|
||||
int i;
|
||||
for (i = 0; i < dirItems.Size(); i++)
|
||||
archivePaths.Add(dirItems[i].FullPath);
|
||||
{
|
||||
const CDirItem &dirItem = dirItems[i];
|
||||
if (!dirItem.IsDirectory())
|
||||
archivePaths.Add(dirItem.FullPath);
|
||||
}
|
||||
|
||||
if (archivePaths.Size() == 0)
|
||||
throw "there is no such archive";
|
||||
|
||||
Reference in New Issue
Block a user