From 568a43b9176e9a2e7d8386199c0ec30f099f9f2e Mon Sep 17 00:00:00 2001 From: jean-pierre charras Date: Fri, 15 Nov 2013 08:24:10 +0100 Subject: [PATCH] Minor fix about version information when BUILD_GITHUB_PLUGIN is on --- common/basicframe.cpp | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/common/basicframe.cpp b/common/basicframe.cpp index 2623d1700b..42f25d9456 100644 --- a/common/basicframe.cpp +++ b/common/basicframe.cpp @@ -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(); }