Improve assert message in symbol table remap dialog.
Fixes lp:1731655 https://bugs.launchpad.net/kicad/+bug/1731655
This commit is contained in:
parent
5e5abc5241
commit
d98fc85a83
|
@ -303,8 +303,8 @@ bool DIALOG_SYMBOL_REMAP::normalizeAbsolutePaths( const wxFileName& aPathA,
|
||||||
const wxFileName& aPathB,
|
const wxFileName& aPathB,
|
||||||
wxString* aResultPath )
|
wxString* aResultPath )
|
||||||
{
|
{
|
||||||
wxCHECK_MSG( aPathA.IsAbsolute(), false, "Arguement 'aPathA' must be an absolute path." );
|
wxCHECK_MSG( aPathA.IsAbsolute(), false, aPathA.GetPath() + " is not an absolute path." );
|
||||||
wxCHECK_MSG( aPathB.IsAbsolute(), false, "Arguement 'aPathB' must be an absolute path." );
|
wxCHECK_MSG( aPathB.IsAbsolute(), false, aPathB.GetPath() + " is not an absolute path." );
|
||||||
|
|
||||||
if( aPathA.GetPath() == aPathB.GetPath() )
|
if( aPathA.GetPath() == aPathB.GetPath() )
|
||||||
return true;
|
return true;
|
||||||
|
|
Loading…
Reference in New Issue