VeraCrypt
aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/Main/Application.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/Main/Application.cpp b/src/Main/Application.cpp
index 2d7db155..e579142b 100644
--- a/src/Main/Application.cpp
+++ b/src/Main/Application.cpp
@@ -36,7 +36,6 @@ namespace VeraCrypt
FilePath Application::GetConfigFilePath (const wxString &configFileName, bool createConfigDir)
{
- wxStandardPaths& stdPaths = wxStandardPaths::Get();
DirectoryPath configDir;
if (!Core->IsInPortableMode())
@@ -46,6 +45,7 @@ namespace VeraCrypt
configPath.Normalize();
configDir = wstring (configPath.GetFullPath());
#else
+ wxStandardPaths& stdPaths = wxStandardPaths::Get();
configDir = wstring (stdPaths.GetUserDataDir());
#endif
}