format to our standards

This commit is contained in:
dickelbeck 2008-10-29 23:57:35 +00:00
parent 8c76e2e644
commit abd75ea366
1 changed files with 28 additions and 34 deletions

View File

@ -281,6 +281,7 @@ void WinEDA_CvpcbFrame::ToFirstNA( wxCommandEvent& event )
selection = m_ListCmp->GetSelection();
if( selection < 0 )
selection = 0;
for( ii = 0; Composant != NULL; Composant = Composant->Pnext )
{
if( Composant->m_Module.IsEmpty() && (ii > selection) )
@ -408,7 +409,6 @@ void WinEDA_CvpcbFrame::LoadNetList( wxCommandEvent& event )
case ID_LOAD_FILE_10:
id -= ID_LOAD_FILE_1;
fullfilename = GetLastProject( id );
break;
}
@ -520,16 +520,12 @@ void WinEDA_CvpcbFrame::ProcessFontPreferences( wxCommandEvent& event )
case ID_PREFERENCES_FONT:
case ID_PREFERENCES_FONT_DIALOG:
case ID_PREFERENCES_FONT_STATUS:
WinEDA_BasicFrame::ProcessFontPreferences( id );
break;
case ID_PREFERENCES_FONT_INFOSCREEN:
{
font = wxGetFontFromUser( this, *g_FixedFont );
if( font.Ok() )
{
int pointsize = font.GetPointSize();
@ -538,9 +534,7 @@ void WinEDA_CvpcbFrame::ProcessFontPreferences( wxCommandEvent& event )
m_FootprintList->SetFont( *g_FixedFont );
m_ListCmp->SetFont( *g_FixedFont );
}
break;
}
default:
DisplayError( this, wxT( "WinEDA_DrawFrame::ProcessFontPreferences Internal Error" ) );