mirror of
https://gitlab.com/kicad/code/kicad.git
synced 2025-04-18 19:39:17 +00:00
Fix uninitialized member in non-user fields
This commit is contained in:
parent
3b24b5b74b
commit
6be2468e05
@ -38,6 +38,8 @@ PCB_FIELD::PCB_FIELD( FOOTPRINT* aParent, FIELD_T aFieldId, const wxString& aNam
|
||||
{
|
||||
if( m_id == FIELD_T::USER )
|
||||
m_ordinal = aParent->GetNextFieldOrdinal();
|
||||
else
|
||||
m_ordinal = 0;
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user