Commit 97898b92 authored by dickelbeck's avatar dickelbeck
Browse files

beautified

parent 7d8f2fcf
Loading
Loading
Loading
Loading
+65 −66
Original line number Original line Diff line number Diff line
@@ -68,7 +68,7 @@ wxString FFileName;
    if( adr_lowmem == NULL )
    if( adr_lowmem == NULL )
    {
    {
        printf( "No Memory, Fatal err Memory alloc\n" );
        printf( "No Memory, Fatal err Memory alloc\n" );
		return(FALSE) ;
        return FALSE;
    }
    }
    m_PcbFrame = new WinEDA_PcbFrame( NULL, this, wxT( "PcbNew" ),
    m_PcbFrame = new WinEDA_PcbFrame( NULL, this, wxT( "PcbNew" ),
                                     wxPoint( 0, 0 ), wxSize( 600, 400 ) );
                                     wxPoint( 0, 0 ), wxSize( 600, 400 ) );
@@ -91,11 +91,10 @@ wxString FFileName;
    if( !FFileName.IsEmpty() )
    if( !FFileName.IsEmpty() )
    {
    {
        wxClientDC dc( m_PcbFrame->DrawPanel );
        wxClientDC dc( m_PcbFrame->DrawPanel );

        m_PcbFrame->DrawPanel->PrepareGraphicContext( &dc );
        m_PcbFrame->DrawPanel->PrepareGraphicContext( &dc );
        m_PcbFrame->LoadOnePcbFile( FFileName, &dc, FALSE );
        m_PcbFrame->LoadOnePcbFile( FFileName, &dc, FALSE );
    }
    }


    return TRUE;
    return TRUE;
}
}