Bug #190 File specified on the command line without path not found

This commit is contained in:
Zane U. Ji 2013-11-03 20:40:27 +08:00
parent 742f07c6d4
commit 18add1e75f
1 changed files with 1 additions and 2 deletions

View File

@ -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() )
{