Fix typos in translatable strings.
fix also a coding style issue.
This commit is contained in:
parent
60af0448c5
commit
5bf0689ac8
|
@ -438,14 +438,14 @@ bool FOOTPRINT_EDIT_FRAME::SaveLibraryAs( const wxString& aLibraryPath )
|
||||||
|
|
||||||
if( !cur )
|
if( !cur )
|
||||||
{
|
{
|
||||||
msg = wxString::Format( _( "Unable to find a reader for '%s." ), curLibPath );
|
msg = wxString::Format( _( "Unable to find a reader for '%s'." ), curLibPath );
|
||||||
DisplayError( this, msg );
|
DisplayError( this, msg );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
if( !dst )
|
if( !dst )
|
||||||
{
|
{
|
||||||
msg = wxString::Format( _( "Unable to find a writer for '%s." ), dstLibPath );
|
msg = wxString::Format( _( "Unable to find a writer for '%s'." ), dstLibPath );
|
||||||
DisplayError( this, msg );
|
DisplayError( this, msg );
|
||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
|
@ -329,6 +329,7 @@ bool PLUGIN::fileStartsWithBinaryHeader( const wxString& aFilePath, const std::v
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
std::vector<uint8_t> parsedHeader(aHeader.size());
|
std::vector<uint8_t> parsedHeader(aHeader.size());
|
||||||
|
|
||||||
if (!input.ReadAll(parsedHeader.data(), parsedHeader.size()))
|
if (!input.ReadAll(parsedHeader.data(), parsedHeader.size()))
|
||||||
return false;
|
return false;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue