Fix improper string creation in fabmaster importer
This commit is contained in:
parent
1e33928b96
commit
d030d1667b
|
@ -71,7 +71,7 @@ BOARD* FABMASTER_PLUGIN::Load( const wxString &aFileName, BOARD *aAppendToMe,
|
||||||
|
|
||||||
if( !m_fabmaster.Read( aFileName.ToStdString() ) )
|
if( !m_fabmaster.Read( aFileName.ToStdString() ) )
|
||||||
{
|
{
|
||||||
std::string readerr =
|
std::string readerr;
|
||||||
|
|
||||||
readerr = _( "Could not read file " ) + aFileName.ToStdString();
|
readerr = _( "Could not read file " ) + aFileName.ToStdString();
|
||||||
THROW_IO_ERROR( readerr );
|
THROW_IO_ERROR( readerr );
|
||||||
|
|
Loading…
Reference in New Issue