LTspice import: fix Mac path variable shadowing.
This commit is contained in:
parent
b47f172e57
commit
89a9eee174
|
@ -95,7 +95,7 @@ SCH_SHEET* SCH_LTSPICE_PLUGIN::Load( const wxString& aFileName, SCHEMATIC* aSche
|
|||
if( !ltspiceDataDir.DirExists() )
|
||||
{
|
||||
// Mac path
|
||||
wxFileName ltspiceDataDir( KIPLATFORM::ENV::GetUserDataPath(), wxEmptyString );
|
||||
ltspiceDataDir = wxFileName( KIPLATFORM::ENV::GetUserDataPath(), wxEmptyString );
|
||||
ltspiceDataDir.RemoveLastDir(); // "kicad"
|
||||
ltspiceDataDir.AppendDir( wxS( "LTspice" ) );
|
||||
ltspiceDataDir.AppendDir( wxS( "lib" ) );
|
||||
|
|
Loading…
Reference in New Issue