summarylogtreecommitdiffstats
path: root/revert_resources_path.patch
diff options
context:
space:
mode:
authorJochum Döring2019-01-16 22:36:07 +0100
committerJochum Döring2019-01-16 22:36:07 +0100
commit5941cf3bf886670a8f2cac35e0fc2115ca6c377e (patch)
tree5d12fc94b3cbb189f80ffa4e94fe720e3edd51d8 /revert_resources_path.patch
parentcecb9e811f0b3d8798b240899acee679d9d47566 (diff)
downloadaur-5941cf3bf886670a8f2cac35e0fc2115ca6c377e.tar.gz
update to 10.8
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()));
+ }