Minor fix about version information when BUILD_GITHUB_PLUGIN is on

This commit is contained in:
jean-pierre charras 2013-11-15 08:24:10 +01:00
parent 1ba6c82f44
commit 568a43b917
1 changed files with 4 additions and 2 deletions

View File

@ -573,13 +573,15 @@ void EDA_BASE_FRAME::CopyVersionInfoToClipboard( wxCommandEvent& event )
tmp << wxT( "OFF\n" );
#endif
tmp << wxT( " BUILD_GIT_HUB_PLUGIN=" );
#ifdef BUILD_GIT_HUB_PLUGIN
tmp << wxT( " BUILD_GITHUB_PLUGIN=" );
#ifdef BUILD_GITHUB_PLUGIN
tmp << wxT( "ON\n" );
#else
tmp << wxT( "OFF\n" );
#endif
wxMessageBox( tmp, _("Version Information (copied to the clipboard)") );
wxTheClipboard->SetData( new wxTextDataObject( tmp ) );
wxTheClipboard->Close();
}