Commit abd75ea3 authored by dickelbeck's avatar dickelbeck

format to our standards

parent 8c76e2e6
......@@ -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" ) );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment