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 );
|
wxFileName anchorObject ( myAnchor );
|
||||||
if ( myAnchor.empty() )
|
if ( myAnchor.empty() )
|
||||||
{
|
{
|
||||||
//myAnchor = wxFileName::GetCwd();
|
myAnchor = wxFileName::GetCwd();
|
||||||
myAnchor = wxStandardPaths::Get().GetDataDir();
|
|
||||||
}
|
}
|
||||||
else if ( !anchorObject.IsDir() )
|
else if ( !anchorObject.IsDir() )
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue