beautified

This commit is contained in:
dickelbeck 2007-08-04 00:47:36 +00:00
parent 7d8f2fcff0
commit 97898b92aa
1 changed files with 56 additions and 57 deletions

View File

@ -68,7 +68,7 @@ wxString FFileName;
if( adr_lowmem == NULL )
{
printf( "No Memory, Fatal err Memory alloc\n" );
return(FALSE) ;
return FALSE;
}
m_PcbFrame = new WinEDA_PcbFrame( NULL, this, wxT( "PcbNew" ),
wxPoint( 0, 0 ), wxSize( 600, 400 ) );
@ -91,11 +91,10 @@ wxString FFileName;
if( !FFileName.IsEmpty() )
{
wxClientDC dc( m_PcbFrame->DrawPanel );
m_PcbFrame->DrawPanel->PrepareGraphicContext( &dc );
m_PcbFrame->LoadOnePcbFile( FFileName, &dc, FALSE );
}
return TRUE;
}