7
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:
Alex Shvartzkop 2025-01-08 16:23:44 +05:00
parent 883b615fef
commit d3f53db3eb
2 changed files with 2 additions and 2 deletions
eeschema/sch_io/eagle
pcbnew/pcb_io/eagle

View File

@ -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;

View File

@ -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;