Commit abd75ea3 authored by dickelbeck's avatar dickelbeck
Browse files

format to our standards

parent 8c76e2e6
Loading
Loading
Loading
Loading
+28 −34
Original line number Original line Diff line number Diff line
@@ -281,6 +281,7 @@ void WinEDA_CvpcbFrame::ToFirstNA( wxCommandEvent& event )
    selection = m_ListCmp->GetSelection();
    selection = m_ListCmp->GetSelection();
    if( selection < 0 )
    if( selection < 0 )
        selection = 0;
        selection = 0;

    for( ii = 0; Composant != NULL; Composant = Composant->Pnext )
    for( ii = 0; Composant != NULL; Composant = Composant->Pnext )
    {
    {
        if( Composant->m_Module.IsEmpty() && (ii > selection) )
        if( Composant->m_Module.IsEmpty() && (ii > selection) )
@@ -408,7 +409,6 @@ void WinEDA_CvpcbFrame::LoadNetList( wxCommandEvent& event )
    case ID_LOAD_FILE_10:
    case ID_LOAD_FILE_10:
        id -= ID_LOAD_FILE_1;
        id -= ID_LOAD_FILE_1;
        fullfilename = GetLastProject( id );
        fullfilename = GetLastProject( id );
       
        break;
        break;
    }
    }


@@ -520,16 +520,12 @@ void WinEDA_CvpcbFrame::ProcessFontPreferences( wxCommandEvent& event )
    case ID_PREFERENCES_FONT:
    case ID_PREFERENCES_FONT:
    case ID_PREFERENCES_FONT_DIALOG:
    case ID_PREFERENCES_FONT_DIALOG:
    case ID_PREFERENCES_FONT_STATUS:
    case ID_PREFERENCES_FONT_STATUS:
      
        WinEDA_BasicFrame::ProcessFontPreferences( id );
        WinEDA_BasicFrame::ProcessFontPreferences( id );
    
        break;
        break;




    case ID_PREFERENCES_FONT_INFOSCREEN:
    case ID_PREFERENCES_FONT_INFOSCREEN:
    {
        font = wxGetFontFromUser( this, *g_FixedFont );
        font = wxGetFontFromUser( this, *g_FixedFont );

        if( font.Ok() )
        if( font.Ok() )
        {
        {
            int pointsize = font.GetPointSize();
            int pointsize = font.GetPointSize();
@@ -538,9 +534,7 @@ void WinEDA_CvpcbFrame::ProcessFontPreferences( wxCommandEvent& event )
            m_FootprintList->SetFont( *g_FixedFont );
            m_FootprintList->SetFont( *g_FixedFont );
            m_ListCmp->SetFont( *g_FixedFont );
            m_ListCmp->SetFont( *g_FixedFont );
        }
        }

        break;
        break;
    }


    default:
    default:
        DisplayError( this, wxT( "WinEDA_DrawFrame::ProcessFontPreferences Internal Error" ) );
        DisplayError( this, wxT( "WinEDA_DrawFrame::ProcessFontPreferences Internal Error" ) );