summaryrefslogtreecommitdiff
path: root/shared/standardPaths.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'shared/standardPaths.cpp')
-rw-r--r--shared/standardPaths.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/shared/standardPaths.cpp b/shared/standardPaths.cpp
index 3d5cfdb5..3c57f5b9 100644
--- a/shared/standardPaths.cpp
+++ b/shared/standardPaths.cpp
@@ -9,7 +9,7 @@ using namespace FreeFileSync;
wxString assembleFileForUserData(const wxString fileName)
{
- static const bool isPortableVersion = !wxFileExists(FreeFileSync::getInstallationDir() + zToWx(globalFunctions::FILE_NAME_SEPARATOR) + wxT("uninstall.exe")); //this check is a bit lame...
+ static const bool isPortableVersion = !wxFileExists(FreeFileSync::getInstallationDir() + wxT("uninstall.exe")); //this check is a bit lame...
if (isPortableVersion) //use current working directory
return wxString(wxT(".")) + zToWx(globalFunctions::FILE_NAME_SEPARATOR) + fileName;
@@ -51,7 +51,7 @@ const wxString& FreeFileSync::getLastErrorTxtFile()
const wxString& FreeFileSync::getInstallationDir()
{
- static wxString instance = wxFileName(wxStandardPaths::Get().GetExecutablePath()).GetPath();
+ static wxString instance = wxFileName(wxStandardPaths::Get().GetExecutablePath()).GetPath() + zToWx(globalFunctions::FILE_NAME_SEPARATOR);
return instance;
}
bgstack15