Revert absolute-path asserts and fix off-by-one bug.
Fixes: lp:1767582 * https://bugs.launchpad.net/kicad/+bug/1767582
This commit is contained in:
+1
-3
@@ -78,9 +78,7 @@ void PROJECT::SetProjectFullName( const wxString& aFullPathAndName )
|
||||
|
||||
m_project_name = aFullPathAndName;
|
||||
|
||||
// There's no guarantee that this path is absolute. For instance, a relative
|
||||
// path might have been passed via the command line.
|
||||
// wxASSERT( m_project_name.IsAbsolute() );
|
||||
wxASSERT( m_project_name.IsAbsolute() );
|
||||
|
||||
wxASSERT( m_project_name.GetExt() == ProjectFileExtension );
|
||||
|
||||
|
||||
Reference in New Issue
Block a user