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