fix comment to proper English

This commit is contained in:
Dick Hollenbeck 2010-06-30 08:08:50 -05:00
parent 4d60b9a36f
commit ce0eec899c
1 changed files with 2 additions and 2 deletions

View File

@ -775,7 +775,7 @@ void DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::copyOptionsToPanel()
#include "kicad_device_context.h"
/* reinitialise components parametres to default values found in lib
/* reinitialize components parametres to default values found in lib
*/
void DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::SetInitCmp( wxCommandEvent& event )
{
@ -793,7 +793,7 @@ void DIALOG_EDIT_COMPONENT_IN_SCHEMATIC::SetInitCmp( wxCommandEvent& event )
RedrawOneStruct( m_Parent->DrawPanel, &dc, m_Cmp, g_XorMode );
/* Initialise fields values to default values found in library: */
// Initialize field values to default values found in library:
LIB_FIELD& refField = entry->GetReferenceField();
m_Cmp->GetField( REFERENCE )->m_Pos = refField.m_Pos + m_Cmp->m_Pos;
m_Cmp->GetField( REFERENCE )->ImportValues( refField );