forked from mia/Aegisub
Forgot to append /AEGISUB_VERSION_DATA to GetDataDir.
Originally committed to SVN as r2673.
This commit is contained in:
parent
40f4fc8eb7
commit
24d52e10c9
1 changed files with 2 additions and 1 deletions
|
@ -63,10 +63,11 @@ StandardPaths::StandardPaths() {
|
|||
#endif
|
||||
|
||||
// Get paths
|
||||
wxString dataDir = paths.GetDataDir();
|
||||
#ifdef __WINDOWS__
|
||||
wxString dataDir = paths.GetDataDir();
|
||||
wxString userDir = paths.GetUserDataDir();
|
||||
#else
|
||||
wxString dataDir = paths.GetDataDir() + _T("/") + _T(AEGISUB_VERSION_DATA);
|
||||
wxString userDir = paths.GetUserDataDir() + _T("-") + _T(AEGISUB_VERSION_DATA);
|
||||
// wxString userDir = wxString::Format(_T("%s-%s"), paths.GetUserDataDir(), AEGISUB_VERSION_DATA);
|
||||
#endif
|
||||
|
|
Loading…
Reference in a new issue