Fix (temporary fix) a bug I created in dialog_freeroute_exchange.cpp in bzr rev 4769

This commit is contained in:
jean-pierre charras 2014-03-27 19:28:10 +01:00
parent 34c593916c
commit 0449258761
1 changed files with 2 additions and 2 deletions

View File

@ -139,6 +139,7 @@ void DIALOG_FREEROUTE::OnImportButtonClick( wxCommandEvent& event )
void DIALOG_FREEROUTE::OnLaunchButtonClick( wxCommandEvent& event )
{
wxString javaCommand;
wxString command;
if( m_freeRouterIsLocal )
{
@ -198,13 +199,12 @@ void DIALOG_FREEROUTE::OnLaunchButtonClick( wxCommandEvent& event )
key.QueryValue( m_freeRouterIsLocal ? wxT( "JavaHome" ) : wxT( "Home" ), value );
wxString javaCommandPath = value + wxFileName::GetPathSeparator();
command = javaCommandPath;
#else
#warning Kicad needs wxWidgets >= 2.9.4. version 2.8 is only supported for testing purposes
#endif // wxCHECK_VERSION( 2, 9, 0 )
#endif // __WINDOWS__
wxString command = javaCommandPath;
if( m_freeRouterIsLocal )
command << wxT("bin\\") << javaCommand;
else