Remove tilde expansion

Fixes https://gitlab.com/kicad/code/kicad/issues/9213
This commit is contained in:
Mikolaj Wielgus 2021-09-24 20:32:40 +02:00 committed by Jeff Young
parent 726f9ebe3d
commit 1d26a29fc0
1 changed files with 0 additions and 5 deletions

View File

@ -260,11 +260,6 @@ wxString KIwxExpandEnvVars( const wxString& str, const PROJECT* aProject )
}
}
#ifndef __WINDOWS__
if( strResult.StartsWith( "~" ) )
strResult.Replace( "~", wxGetHomeDir(), false );
#endif // __WINDOWS__
return strResult;
}