Bug #190 File specified on the command line without path not found
This commit is contained in:
parent
742f07c6d4
commit
18add1e75f
|
@ -36,8 +36,7 @@ wxString PathResolver::run ( const wxString& path, const wxString& anchor )
|
|||
wxFileName anchorObject ( myAnchor );
|
||||
if ( myAnchor.empty() )
|
||||
{
|
||||
//myAnchor = wxFileName::GetCwd();
|
||||
myAnchor = wxStandardPaths::Get().GetDataDir();
|
||||
myAnchor = wxFileName::GetCwd();
|
||||
}
|
||||
else if ( !anchorObject.IsDir() )
|
||||
{
|
||||
|
|
Loading…
Reference in New Issue