Commit 4254ddc8 authored by jean-pierre charras's avatar jean-pierre charras

minor change in cvpcb (better error message when a .cmp file is not found)

parent 21b75f39
......@@ -9,9 +9,12 @@
#define KICAD_BUILD_VERSION "(2011-03-17)"
#endif
// uncomment this line only when creating a stable version
//#define VERSION_STABILITY "stable"
#define VERSION_STABILITY "testing"
#ifndef VERSION_STABILITY
#define VERSION_STABILITY "testing"
#endif
/**
* Function GetBuildVersion
......
......@@ -82,8 +82,9 @@ bool CVPCB_MAINFRAME::LoadComponentFile( const wxString& fileName )
source = wxFopen( fn.GetFullPath(), wxT( "rt" ) );
if( source == NULL )
{
msg.Printf( _( "Cannot open component library <%s>." ),
msg.Printf( _( "Cannot open CvPcb component file <%s>." ),
GetChars( fn.GetFullPath() ) );
msg << wxT("\n") << _("This is normal if you are opening a new netlist file");
wxMessageBox( msg, titleComponentLibErr, wxOK | wxICON_ERROR );
return false;
}
......
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