Commit 04492587 authored by jean-pierre charras's avatar jean-pierre charras

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

parent 34c59391
......@@ -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
......
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