From 18add1e75fb73607cea80fe0361736aefc0f869f Mon Sep 17 00:00:00 2001 From: "Zane U. Ji" Date: Sun, 3 Nov 2013 20:40:27 +0800 Subject: [PATCH] Bug #190 File specified on the command line without path not found --- src/pathresolver.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/src/pathresolver.cpp b/src/pathresolver.cpp index 3634613..6adb7e4 100644 --- a/src/pathresolver.cpp +++ b/src/pathresolver.cpp @@ -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() ) {