From d98fc85a836b861c29abae55f439aff2be856add Mon Sep 17 00:00:00 2001 From: Wayne Stambaugh Date: Mon, 13 Nov 2017 14:17:49 -0500 Subject: [PATCH] Improve assert message in symbol table remap dialog. Fixes lp:1731655 https://bugs.launchpad.net/kicad/+bug/1731655 --- eeschema/dialogs/dialog_symbol_remap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/eeschema/dialogs/dialog_symbol_remap.cpp b/eeschema/dialogs/dialog_symbol_remap.cpp index 26e07d7f89..3531ff68f3 100644 --- a/eeschema/dialogs/dialog_symbol_remap.cpp +++ b/eeschema/dialogs/dialog_symbol_remap.cpp @@ -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;