mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-21 08:51:42 +00:00
EAGLE import: allow more lines before <eagle> tag.
Fixes https://gitlab.com/kicad/code/kicad/-/issues/19528
(cherry picked from commit 603a500bc0
)
This commit is contained in:
parent
883b615fef
commit
d3f53db3eb
@ -2694,7 +2694,7 @@ bool SCH_IO_EAGLE::checkHeader( const wxString& aFileName ) const
|
||||
|
||||
wxTextInputStream text( input );
|
||||
|
||||
for( int i = 0; i < 4; i++ )
|
||||
for( int i = 0; i < 8; i++ )
|
||||
{
|
||||
if( input.Eof() )
|
||||
return false;
|
||||
|
@ -281,7 +281,7 @@ bool PCB_IO_EAGLE::checkHeader(const wxString& aFileName) const
|
||||
|
||||
wxTextInputStream text( input );
|
||||
|
||||
for( int i = 0; i < 4; i++ )
|
||||
for( int i = 0; i < 8; i++ )
|
||||
{
|
||||
if( input.Eof() )
|
||||
return false;
|
||||
|
Loading…
Reference in New Issue
Block a user