summarylogtreecommitdiffstats
path: root/revert_resources_path.patch
blob: 4a3975ef1698a8a71867f69b9575000d4bf3448e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
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()));
 }