eeschema: fix parts range 1 to 26 in component

This commit is contained in:
Andrey Fedorushkov 2013-11-26 13:15:20 +04:00
parent 18616d7782
commit d8954ca3cf
1 changed files with 1 additions and 1 deletions

View File

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