Gerbview, read zip archive: do not generate a error message for directory names.
A directory is not a file, and is now just skipped. From master branch
This commit is contained in:
parent
d9a1703bcc
commit
c3b9c65fd6
|
@ -506,6 +506,9 @@ bool GERBVIEW_FRAME::unarchiveFiles( const wxString& aFullFileName, REPORTER* aR
|
|||
|
||||
while( ( entry = zipArchive.GetNextEntry() ) )
|
||||
{
|
||||
if( entry->IsDir() )
|
||||
continue;
|
||||
|
||||
wxString fname = entry->GetName();
|
||||
wxFileName uzfn = fname;
|
||||
wxString curr_ext = uzfn.GetExt().Lower();
|
||||
|
|
Loading…
Reference in New Issue