Fix minor coding policy violations.

This commit is contained in:
Wayne Stambaugh 2019-12-12 14:55:21 -05:00
parent 0e1a274f0c
commit 20836261d7
3 changed files with 27 additions and 26 deletions

View File

@ -128,7 +128,8 @@ protected:
SCH_EDIT_FRAME* editFrame = dynamic_cast<SCH_EDIT_FRAME*>( m_frame ); SCH_EDIT_FRAME* editFrame = dynamic_cast<SCH_EDIT_FRAME*>( m_frame );
if( itemType == SCH_PIN_T || itemType == SCH_FIELD_T || itemType == SCH_SHEET_PIN_T ) if( itemType == SCH_PIN_T || itemType == SCH_FIELD_T || itemType == SCH_SHEET_PIN_T )
editFrame->SaveCopyInUndoList( (SCH_ITEM*) aItem->GetParent(), UR_CHANGED, aAppend ); editFrame->SaveCopyInUndoList( (SCH_ITEM*) aItem->GetParent(), UR_CHANGED,
aAppend );
else else
editFrame->SaveCopyInUndoList( (SCH_ITEM*) aItem, aType, aAppend ); editFrame->SaveCopyInUndoList( (SCH_ITEM*) aItem, aType, aAppend );
} }