Improve assert message in symbol table remap dialog.

Fixes lp:1731655

https://bugs.launchpad.net/kicad/+bug/1731655
This commit is contained in:
Wayne Stambaugh 2017-11-13 14:17:49 -05:00
parent 5e5abc5241
commit d98fc85a83
1 changed files with 2 additions and 2 deletions

View File

@ -303,8 +303,8 @@ bool DIALOG_SYMBOL_REMAP::normalizeAbsolutePaths( const wxFileName& aPathA,
const wxFileName& aPathB,
wxString* aResultPath )
{
wxCHECK_MSG( aPathA.IsAbsolute(), false, "Arguement 'aPathA' must be an absolute path." );
wxCHECK_MSG( aPathB.IsAbsolute(), false, "Arguement 'aPathB' must be an absolute path." );
wxCHECK_MSG( aPathA.IsAbsolute(), false, aPathA.GetPath() + " is not an absolute path." );
wxCHECK_MSG( aPathB.IsAbsolute(), false, aPathB.GetPath() + " is not an absolute path." );
if( aPathA.GetPath() == aPathB.GetPath() )
return true;