diff --git a/aegisub/standard_paths.cpp b/aegisub/standard_paths.cpp index 02c984028..15f7ac2d7 100644 --- a/aegisub/standard_paths.cpp +++ b/aegisub/standard_paths.cpp @@ -53,12 +53,14 @@ StandardPaths *StandardPaths::GetInstance() { // Constructor StandardPaths::StandardPaths() { // Get paths - wxFileName dataDir(wxStandardPaths::Get().GetExecutablePath()); + //wxFileName dataDir(wxStandardPaths::Get().GetDataDir()); + wxString dataDir = wxStandardPaths::Get().GetDataDir(); wxString userDir = wxStandardPaths::Get().GetUserDataDir(); wxString tempDir = wxStandardPaths::Get().GetTempDir(); // Set paths - DoSetPathValue(_T("?data"),dataDir.GetPath(wxPATH_GET_VOLUME,wxPATH_NATIVE)); + //DoSetPathValue(_T("?data"),dataDir.GetPath(wxPATH_GET_VOLUME,wxPATH_NATIVE)); + DoSetPathValue(_T("?data"),dataDir); DoSetPathValue(_T("?user"),userDir); DoSetPathValue(_T("?temp"),tempDir);