mirror of https://github.com/odrling/Aegisub
Fixed data standard path
Originally committed to SVN as r1559.
This commit is contained in:
parent
a5e800bccf
commit
7463ee0d7a
|
@ -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);
|
||||
|
||||
|
|
Loading…
Reference in New Issue