summarylogtreecommitdiffstats
path: root/revert_resources_path.patch
diff options
context:
space:
mode:
Diffstat (limited to 'revert_resources_path.patch')
-rw-r--r--revert_resources_path.patch16
1 files changed, 16 insertions, 0 deletions
diff --git a/revert_resources_path.patch b/revert_resources_path.patch
new file mode 100644
index 000000000000..4a3975ef1698
--- /dev/null
+++ b/revert_resources_path.patch
@@ -0,0 +1,16 @@
+diff -ur a/FreeFileSync/Source/base/ffs_paths.cpp b/FreeFileSync/Source/base/ffs_paths.cpp
+--- a/FreeFileSync/Source/base/ffs_paths.cpp 2019-01-02 23:57:37.768501228 +0100
++++ b/FreeFileSync/Source/base/ffs_paths.cpp 2019-01-03 00:02:28.632322663 +0100
+@@ -65,10 +65,10 @@
+ wxTheApp->SetAppName(L"FreeFileSync");
+ ZEN_ON_SCOPE_EXIT(wxTheApp->SetAppName(appName));
+
+- //if (isPortableVersion())
+- return appendSeparator(getExeFolderParentPath());
+- //else //use OS' standard paths
+- // return appendSeparator(utfTo<Zstring>(wxStandardPathsBase::Get().GetResourcesDir()));
++ if (isPortableVersion())
++ return appendSeparator(getExeFolderParentPath());
++ else // use OS' standard paths
++ return appendSeparator(utfTo<Zstring>(wxStandardPathsBase::Get().GetResourcesDir()));
+ }