Forgot to append /AEGISUB_VERSION_DATA to GetDataDir.

Originally committed to SVN as r2673.
This commit is contained in:
Amar Takhar 2009-01-07 10:40:33 +00:00
parent 40f4fc8eb7
commit 24d52e10c9

View file

@ -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