eeschema: fix parts range 1 to 26 in component
This commit is contained in:
parent
18616d7782
commit
d8954ca3cf
|
@ -1229,7 +1229,7 @@ bool SCH_COMPONENT::Load( LINE_READER& aLine, wxString& aErrorMsg )
|
||||||
|
|
||||||
int multi = atoi( name1 );
|
int multi = atoi( name1 );
|
||||||
|
|
||||||
if( multi < 0 || multi > 25 )
|
if( multi < 0 || multi > 26 )
|
||||||
multi = 1;
|
multi = 1;
|
||||||
|
|
||||||
AddHierarchicalReference( path, ref, multi );
|
AddHierarchicalReference( path, ref, multi );
|
||||||
|
|
Loading…
Reference in New Issue